public class SimplerFileSystem extends FileSystem
Paths.FileSystem.StatisticsDEFAULT_FS, FS_DEFAULT_NAME_KEY, LOG, SHUTDOWN_HOOK_PRIORITY, statistics| Constructor and Description |
|---|
SimplerFileSystem(FileSystem fs)
Constructs a new
SimplerFileSystem instance. |
| Modifier and Type | Method and Description |
|---|---|
FSDataOutputStream |
append(Path f) |
FSDataOutputStream |
append(Path f,
int bufferSize) |
FSDataOutputStream |
append(Path f,
int bufferSize,
Progressable progress) |
FSDataOutputStream |
append(java.lang.String f) |
FSDataOutputStream |
append(java.lang.String f,
int bufferSize) |
FSDataOutputStream |
append(java.lang.String f,
int bufferSize,
Progressable progress) |
void |
close() |
void |
completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
void |
completeLocalOutput(java.lang.String fsOutputFile,
java.lang.String tmpLocalFile) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path[] srcs,
Path dst) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path src,
Path dst) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
java.lang.String[] srcs,
java.lang.String dst) |
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
java.lang.String src,
java.lang.String dst) |
void |
copyFromLocalFile(boolean delSrc,
Path src,
Path dst) |
void |
copyFromLocalFile(boolean delSrc,
java.lang.String src,
java.lang.String dst) |
void |
copyFromLocalFile(Path src,
Path dst) |
void |
copyFromLocalFile(java.lang.String src,
java.lang.String dst) |
void |
copyToLocalFile(boolean delSrc,
Path src,
Path dst) |
void |
copyToLocalFile(boolean delSrc,
java.lang.String src,
java.lang.String dst) |
void |
copyToLocalFile(Path src,
Path dst) |
void |
copyToLocalFile(java.lang.String src,
java.lang.String dst) |
FSDataOutputStream |
create(Path f) |
FSDataOutputStream |
create(Path f,
boolean overwrite) |
FSDataOutputStream |
create(Path f,
boolean overwrite,
int bufferSize) |
FSDataOutputStream |
create(Path f,
boolean overwrite,
int bufferSize,
Progressable progress) |
FSDataOutputStream |
create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize) |
FSDataOutputStream |
create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
create(Path f,
Progressable progress) |
FSDataOutputStream |
create(Path f,
short replication) |
FSDataOutputStream |
create(Path f,
short replication,
Progressable progress) |
FSDataOutputStream |
create(java.lang.String f) |
FSDataOutputStream |
create(java.lang.String f,
boolean overwrite) |
FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize) |
FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize,
Progressable progress) |
FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize) |
FSDataOutputStream |
create(java.lang.String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
create(java.lang.String f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress) |
FSDataOutputStream |
create(java.lang.String f,
Progressable progress) |
FSDataOutputStream |
create(java.lang.String f,
short replication) |
FSDataOutputStream |
create(java.lang.String f,
short replication,
Progressable progress) |
boolean |
createNewFile(Path f) |
boolean |
createNewFile(java.lang.String f) |
boolean |
delete(Path f) |
boolean |
delete(Path f,
boolean recursive) |
boolean |
delete(java.lang.String f) |
boolean |
delete(java.lang.String f,
boolean recursive) |
boolean |
deleteOnExit(Path f) |
boolean |
deleteOnExit(java.lang.String f) |
boolean |
equals(java.lang.Object obj) |
boolean |
exists(Path f) |
boolean |
exists(java.lang.String f) |
long |
getBlockSize(Path f) |
long |
getBlockSize(java.lang.String f) |
java.lang.String |
getCanonicalServiceName() |
Configuration |
getConf() |
ContentSummary |
getContentSummary(Path f) |
ContentSummary |
getContentSummary(java.lang.String f) |
long |
getDefaultBlockSize() |
short |
getDefaultReplication() |
org.apache.hadoop.security.token.Token<?> |
getDelegationToken(java.lang.String renewer) |
BlockLocation[] |
getFileBlockLocations(FileStatus file,
long start,
long len) |
FileChecksum |
getFileChecksum(Path f) |
FileChecksum |
getFileChecksum(java.lang.String f) |
FileStatus |
getFileStatus(Path f) |
FileStatus |
getFileStatus(java.lang.String f) |
Path |
getHomeDirectory() |
long |
getLength(Path f) |
long |
getLength(java.lang.String f) |
java.lang.String |
getName() |
short |
getReplication(Path src) |
short |
getReplication(java.lang.String src) |
java.net.URI |
getUri() |
long |
getUsed() |
Path |
getWorkingDirectory() |
FileStatus[] |
globStatus(Path pathPattern) |
FileStatus[] |
globStatus(Path pathPattern,
PathFilter filter) |
FileStatus[] |
globStatus(java.lang.String pathPattern) |
FileStatus[] |
globStatus(java.lang.String pathPattern,
PathFilter filter) |
int |
hashCode() |
void |
initialize(java.net.URI name,
Configuration conf) |
boolean |
isDirectory(Path f) |
boolean |
isDirectory(java.lang.String f) |
boolean |
isFile(Path f) |
boolean |
isFile(java.lang.String f) |
FileStatus[] |
listStatus(Path f) |
FileStatus[] |
listStatus(Path[] files) |
FileStatus[] |
listStatus(Path[] files,
PathFilter filter) |
FileStatus[] |
listStatus(Path f,
PathFilter filter) |
FileStatus[] |
listStatus(java.lang.String f) |
FileStatus[] |
listStatus(java.lang.String[] files) |
FileStatus[] |
listStatus(java.lang.String[] files,
PathFilter filter) |
FileStatus[] |
listStatus(java.lang.String f,
PathFilter filter) |
Path |
makeQualified(Path path) |
Path |
makeQualified(java.lang.String path) |
boolean |
mkdirs(Path f) |
boolean |
mkdirs(Path f,
FsPermission permission) |
boolean |
mkdirs(java.lang.String f) |
boolean |
mkdirs(java.lang.String f,
short permission) |
void |
moveFromLocalFile(Path[] srcs,
Path dst) |
void |
moveFromLocalFile(Path src,
Path dst) |
void |
moveFromLocalFile(java.lang.String[] srcs,
java.lang.String dst) |
void |
moveFromLocalFile(java.lang.String src,
java.lang.String dst) |
void |
moveToLocalFile(Path src,
Path dst) |
void |
moveToLocalFile(java.lang.String src,
java.lang.String dst) |
FSDataInputStream |
open(Path f) |
FSDataInputStream |
open(Path f,
int bufferSize) |
FSDataInputStream |
open(java.lang.String f) |
FSDataInputStream |
open(java.lang.String f,
int bufferSize) |
boolean |
rename(Path src,
Path dst) |
boolean |
rename(java.lang.String src,
java.lang.String dst) |
void |
setConf(Configuration conf) |
void |
setOwner(Path p,
java.lang.String username,
java.lang.String groupname) |
void |
setOwner(java.lang.String p,
java.lang.String username,
java.lang.String groupname) |
void |
setPermission(Path p,
FsPermission permission) |
void |
setPermission(java.lang.String p,
short permission) |
boolean |
setReplication(Path src,
short replication) |
boolean |
setReplication(java.lang.String src,
short replication) |
void |
setTimes(Path p,
long mtime,
long atime) |
void |
setTimes(java.lang.String p,
long mtime,
long atime) |
void |
setVerifyChecksum(boolean verifyChecksum) |
void |
setWorkingDirectory(Path new_dir) |
Path |
startLocalOutput(Path fsOutputFile,
Path tmpLocalFile) |
Path |
startLocalOutput(java.lang.String fsOutputFile,
java.lang.String tmpLocalFile) |
java.lang.String |
toString() |
access, addDelegationTokens, areSymlinksEnabled, cancelDeleteOnExit, canonicalizeUri, checkPath, clearStatistics, closeAll, closeAllForUGI, concat, copyToLocalFile, create, create, create, createNonRecursive, createNonRecursive, createNonRecursive, createSnapshot, createSnapshot, createSymlink, deleteSnapshot, enableSymlinks, fixRelativePart, get, get, get, getAclStatus, getAllStatistics, getCanonicalUri, getChildFileSystems, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDefaultUri, getFileBlockLocations, getFileChecksum, getFileLinkStatus, getFileSystemClass, getFSofPath, getInitialWorkingDirectory, getLinkTarget, getLocal, getNamed, getScheme, getServerDefaults, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getXAttr, getXAttrs, getXAttrs, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listXAttrs, mkdirs, modifyAclEntries, newInstance, newInstance, newInstance, newInstanceLocal, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, renameSnapshot, resolveLink, resolvePath, setAcl, setDefaultUri, setDefaultUri, setWriteChecksum, setXAttr, setXAttr, supportsSymlinkspublic SimplerFileSystem(FileSystem fs)
SimplerFileSystem instance.fs - Hadoop file system to use.public void setConf(Configuration conf)
setConf in interface ConfigurablesetConf in class Configuredpublic Configuration getConf()
getConf in interface ConfigurablegetConf in class Configuredpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void initialize(java.net.URI name,
Configuration conf)
throws java.io.IOException
initialize in class FileSystemjava.io.IOExceptionpublic java.net.URI getUri()
getUri in class FileSystempublic java.lang.String getCanonicalServiceName()
getCanonicalServiceName in class FileSystempublic java.lang.String getName()
getName in class FileSystempublic java.lang.String toString()
toString in class java.lang.Objectpublic Path makeQualified(java.lang.String path)
public Path makeQualified(Path path)
makeQualified in class FileSystempublic BlockLocation[] getFileBlockLocations(FileStatus file, long start, long len) throws java.io.IOException
getFileBlockLocations in class FileSystemjava.io.IOExceptionpublic FSDataInputStream open(java.lang.String f, int bufferSize) throws java.io.IOException
java.io.IOExceptionpublic FSDataInputStream open(Path f, int bufferSize) throws java.io.IOException
open in class FileSystemjava.io.IOExceptionpublic FSDataInputStream open(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic FSDataInputStream open(Path f) throws java.io.IOException
open in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, boolean overwrite) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, boolean overwrite) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, Progressable progress) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, short replication) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, short replication) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, short replication, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, short replication, Progressable progress) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, boolean overwrite, int bufferSize) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(Path f, boolean overwrite, int bufferSize, Progressable progress) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, boolean overwrite, int bufferSize, short replication, long blockSize) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize, short replication, long blockSize) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream create(Path f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws java.io.IOException
create in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream create(java.lang.String f, FsPermission permission, boolean overwrite, int bufferSize, short replication, long blockSize, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic boolean createNewFile(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic boolean createNewFile(Path f) throws java.io.IOException
createNewFile in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream append(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream append(Path f) throws java.io.IOException
append in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream append(Path f, int bufferSize) throws java.io.IOException
append in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream append(java.lang.String f, int bufferSize) throws java.io.IOException
java.io.IOExceptionpublic FSDataOutputStream append(Path f, int bufferSize, Progressable progress) throws java.io.IOException
append in class FileSystemjava.io.IOExceptionpublic FSDataOutputStream append(java.lang.String f, int bufferSize, Progressable progress) throws java.io.IOException
java.io.IOExceptionpublic short getReplication(Path src) throws java.io.IOException
getReplication in class FileSystemjava.io.IOExceptionpublic short getReplication(java.lang.String src)
throws java.io.IOException
java.io.IOExceptionpublic boolean setReplication(Path src, short replication) throws java.io.IOException
setReplication in class FileSystemjava.io.IOExceptionpublic boolean setReplication(java.lang.String src,
short replication)
throws java.io.IOException
java.io.IOExceptionpublic boolean rename(Path src, Path dst) throws java.io.IOException
rename in class FileSystemjava.io.IOExceptionpublic boolean rename(java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic boolean delete(Path f) throws java.io.IOException
delete in class FileSystemjava.io.IOExceptionpublic boolean delete(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic boolean delete(Path f, boolean recursive) throws java.io.IOException
delete in class FileSystemjava.io.IOExceptionpublic boolean delete(java.lang.String f,
boolean recursive)
throws java.io.IOException
java.io.IOExceptionpublic boolean deleteOnExit(Path f) throws java.io.IOException
deleteOnExit in class FileSystemjava.io.IOExceptionpublic boolean deleteOnExit(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic boolean exists(Path f) throws java.io.IOException
exists in class FileSystemjava.io.IOExceptionpublic boolean exists(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic boolean isDirectory(Path f) throws java.io.IOException
isDirectory in class FileSystemjava.io.IOExceptionpublic boolean isDirectory(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic boolean isFile(Path f) throws java.io.IOException
isFile in class FileSystemjava.io.IOExceptionpublic boolean isFile(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic long getLength(Path f) throws java.io.IOException
getLength in class FileSystemjava.io.IOExceptionpublic long getLength(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic ContentSummary getContentSummary(Path f) throws java.io.IOException
getContentSummary in class FileSystemjava.io.IOExceptionpublic ContentSummary getContentSummary(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] listStatus(Path f) throws java.io.IOException
listStatus in class FileSystemjava.io.IOExceptionpublic FileStatus[] listStatus(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] listStatus(Path f, PathFilter filter) throws java.io.IOException
listStatus in class FileSystemjava.io.IOExceptionpublic FileStatus[] listStatus(java.lang.String f, PathFilter filter) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] listStatus(Path[] files) throws java.io.IOException
listStatus in class FileSystemjava.io.IOExceptionpublic FileStatus[] listStatus(java.lang.String[] files) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] listStatus(Path[] files, PathFilter filter) throws java.io.IOException
listStatus in class FileSystemjava.io.IOExceptionpublic FileStatus[] listStatus(java.lang.String[] files, PathFilter filter) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] globStatus(Path pathPattern) throws java.io.IOException
globStatus in class FileSystemjava.io.IOExceptionpublic FileStatus[] globStatus(java.lang.String pathPattern) throws java.io.IOException
java.io.IOExceptionpublic FileStatus[] globStatus(Path pathPattern, PathFilter filter) throws java.io.IOException
globStatus in class FileSystemjava.io.IOExceptionpublic FileStatus[] globStatus(java.lang.String pathPattern, PathFilter filter) throws java.io.IOException
java.io.IOExceptionpublic Path getHomeDirectory()
getHomeDirectory in class FileSystempublic org.apache.hadoop.security.token.Token<?> getDelegationToken(java.lang.String renewer) throws java.io.IOException
getDelegationToken in class FileSystemjava.io.IOExceptionpublic void setWorkingDirectory(Path new_dir)
setWorkingDirectory in class FileSystempublic Path getWorkingDirectory()
getWorkingDirectory in class FileSystempublic boolean mkdirs(Path f) throws java.io.IOException
mkdirs in class FileSystemjava.io.IOExceptionpublic boolean mkdirs(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic boolean mkdirs(Path f, FsPermission permission) throws java.io.IOException
mkdirs in class FileSystemjava.io.IOExceptionpublic boolean mkdirs(java.lang.String f,
short permission)
throws java.io.IOException
java.io.IOExceptionpublic void copyFromLocalFile(Path src, Path dst) throws java.io.IOException
copyFromLocalFile in class FileSystemjava.io.IOExceptionpublic void copyFromLocalFile(java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void moveFromLocalFile(Path[] srcs, Path dst) throws java.io.IOException
moveFromLocalFile in class FileSystemjava.io.IOExceptionpublic void moveFromLocalFile(java.lang.String[] srcs,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void moveFromLocalFile(Path src, Path dst) throws java.io.IOException
moveFromLocalFile in class FileSystemjava.io.IOExceptionpublic void moveFromLocalFile(java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void copyFromLocalFile(boolean delSrc,
Path src,
Path dst)
throws java.io.IOException
copyFromLocalFile in class FileSystemjava.io.IOExceptionpublic void copyFromLocalFile(boolean delSrc,
java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path[] srcs,
Path dst)
throws java.io.IOException
copyFromLocalFile in class FileSystemjava.io.IOExceptionpublic void copyFromLocalFile(boolean delSrc,
boolean overwrite,
java.lang.String[] srcs,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path src,
Path dst)
throws java.io.IOException
copyFromLocalFile in class FileSystemjava.io.IOExceptionpublic void copyFromLocalFile(boolean delSrc,
boolean overwrite,
java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void copyToLocalFile(Path src, Path dst) throws java.io.IOException
copyToLocalFile in class FileSystemjava.io.IOExceptionpublic void copyToLocalFile(java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void moveToLocalFile(Path src, Path dst) throws java.io.IOException
moveToLocalFile in class FileSystemjava.io.IOExceptionpublic void moveToLocalFile(java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic void copyToLocalFile(boolean delSrc,
Path src,
Path dst)
throws java.io.IOException
copyToLocalFile in class FileSystemjava.io.IOExceptionpublic void copyToLocalFile(boolean delSrc,
java.lang.String src,
java.lang.String dst)
throws java.io.IOException
java.io.IOExceptionpublic Path startLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws java.io.IOException
startLocalOutput in class FileSystemjava.io.IOExceptionpublic Path startLocalOutput(java.lang.String fsOutputFile, java.lang.String tmpLocalFile) throws java.io.IOException
java.io.IOExceptionpublic void completeLocalOutput(Path fsOutputFile, Path tmpLocalFile) throws java.io.IOException
completeLocalOutput in class FileSystemjava.io.IOExceptionpublic void completeLocalOutput(java.lang.String fsOutputFile,
java.lang.String tmpLocalFile)
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class FileSystemjava.io.IOExceptionpublic long getUsed()
throws java.io.IOException
getUsed in class FileSystemjava.io.IOExceptionpublic long getBlockSize(Path f) throws java.io.IOException
getBlockSize in class FileSystemjava.io.IOExceptionpublic long getBlockSize(java.lang.String f)
throws java.io.IOException
java.io.IOExceptionpublic long getDefaultBlockSize()
getDefaultBlockSize in class FileSystempublic short getDefaultReplication()
getDefaultReplication in class FileSystempublic FileStatus getFileStatus(Path f) throws java.io.IOException
getFileStatus in class FileSystemjava.io.IOExceptionpublic FileStatus getFileStatus(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic FileChecksum getFileChecksum(Path f) throws java.io.IOException
getFileChecksum in class FileSystemjava.io.IOExceptionpublic FileChecksum getFileChecksum(java.lang.String f) throws java.io.IOException
java.io.IOExceptionpublic void setVerifyChecksum(boolean verifyChecksum)
setVerifyChecksum in class FileSystempublic void setPermission(Path p, FsPermission permission) throws java.io.IOException
setPermission in class FileSystemjava.io.IOExceptionpublic void setPermission(java.lang.String p,
short permission)
throws java.io.IOException
java.io.IOExceptionpublic void setOwner(Path p, java.lang.String username, java.lang.String groupname) throws java.io.IOException
setOwner in class FileSystemjava.io.IOExceptionpublic void setOwner(java.lang.String p,
java.lang.String username,
java.lang.String groupname)
throws java.io.IOException
java.io.IOExceptionpublic void setTimes(Path p, long mtime, long atime) throws java.io.IOException
setTimes in class FileSystemjava.io.IOExceptionpublic void setTimes(java.lang.String p,
long mtime,
long atime)
throws java.io.IOException
java.io.IOException