public class FsELFunctions extends Object
Constructor and Description |
---|
FsELFunctions() |
Modifier and Type | Method and Description |
---|---|
static long |
fs_blockSize(String pathUri)
Return the file block size in bytes.
|
static long |
fs_dirSize(String pathUri)
Return the size of all files in the directory, it is not recursive.
|
static boolean |
fs_exists(String pathUri)
Return if a path exists.
|
static long |
fs_fileSize(String pathUri)
Return the len of a file.
|
static boolean |
fs_isDir(String pathUri)
Return if a path is a directory.
|
public FsELFunctions()
public static boolean fs_exists(String pathUri) throws Exception
pathUri
- file system path uri.true
if the path exists, false
if it does not.Exception
public static boolean fs_isDir(String pathUri) throws Exception
pathUri
- fs path uri.true
if the path exists and it is a directory, false
otherwise.Exception
public static long fs_fileSize(String pathUri) throws Exception
pathUri
- file system path uri.Exception
public static long fs_dirSize(String pathUri) throws Exception
pathUri
- file system path uri.Exception
public static long fs_blockSize(String pathUri) throws Exception
pathUri
- file system path uri.Exception
Copyright © 2018 Apache Software Foundation. All rights reserved.