org.springframework.data.hadoop.fs
Class SimplerFileSystem
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.FileSystem
org.springframework.data.hadoop.fs.SimplerFileSystem
- All Implemented Interfaces:
- Closeable, Configurable
public class SimplerFileSystem
- extends FileSystem
FileSystem decorator that overloads methods to accept Strings instead of Paths.
- Author:
- Costin Leau
|
Method Summary |
FSDataOutputStream |
append(Path f)
|
FSDataOutputStream |
append(Path f,
int bufferSize)
|
FSDataOutputStream |
append(Path f,
int bufferSize,
Progressable progress)
|
FSDataOutputStream |
append(String f)
|
FSDataOutputStream |
append(String f,
int bufferSize)
|
FSDataOutputStream |
append(String f,
int bufferSize,
Progressable progress)
|
void |
close()
|
void |
completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile)
|
void |
completeLocalOutput(String fsOutputFile,
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,
String[] srcs,
String dst)
|
void |
copyFromLocalFile(boolean delSrc,
boolean overwrite,
String src,
String dst)
|
void |
copyFromLocalFile(boolean delSrc,
Path src,
Path dst)
|
void |
copyFromLocalFile(boolean delSrc,
String src,
String dst)
|
void |
copyFromLocalFile(Path src,
Path dst)
|
void |
copyFromLocalFile(String src,
String dst)
|
void |
copyToLocalFile(boolean delSrc,
Path src,
Path dst)
|
void |
copyToLocalFile(boolean delSrc,
String src,
String dst)
|
void |
copyToLocalFile(Path src,
Path dst)
|
void |
copyToLocalFile(String src,
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(String f)
|
FSDataOutputStream |
create(String f,
boolean overwrite)
|
FSDataOutputStream |
create(String f,
boolean overwrite,
int bufferSize)
|
FSDataOutputStream |
create(String f,
boolean overwrite,
int bufferSize,
Progressable progress)
|
FSDataOutputStream |
create(String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize)
|
FSDataOutputStream |
create(String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
|
FSDataOutputStream |
create(String f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
|
FSDataOutputStream |
create(String f,
Progressable progress)
|
FSDataOutputStream |
create(String f,
short replication)
|
FSDataOutputStream |
create(String f,
short replication,
Progressable progress)
|
boolean |
createNewFile(Path f)
|
boolean |
createNewFile(String f)
|
boolean |
delete(Path f)
|
boolean |
delete(Path f,
boolean recursive)
|
boolean |
delete(String f)
|
boolean |
delete(String f,
boolean recursive)
|
boolean |
deleteOnExit(Path f)
|
boolean |
deleteOnExit(String f)
|
boolean |
equals(Object obj)
|
boolean |
exists(Path f)
|
boolean |
exists(String f)
|
long |
getBlockSize(Path f)
|
long |
getBlockSize(String f)
|
String |
getCanonicalServiceName()
|
Configuration |
getConf()
|
ContentSummary |
getContentSummary(Path f)
|
ContentSummary |
getContentSummary(String f)
|
long |
getDefaultBlockSize()
|
short |
getDefaultReplication()
|
org.apache.hadoop.security.token.Token<?> |
getDelegationToken(String renewer)
|
BlockLocation[] |
getFileBlockLocations(FileStatus file,
long start,
long len)
|
FileChecksum |
getFileChecksum(Path f)
|
FileChecksum |
getFileChecksum(String f)
|
FileStatus |
getFileStatus(Path f)
|
FileStatus |
getFileStatus(String f)
|
Path |
getHomeDirectory()
|
long |
getLength(Path f)
|
long |
getLength(String f)
|
String |
getName()
|
short |
getReplication(Path src)
|
short |
getReplication(String src)
|
URI |
getUri()
|
long |
getUsed()
|
Path |
getWorkingDirectory()
|
FileStatus[] |
globStatus(Path pathPattern)
|
FileStatus[] |
globStatus(Path pathPattern,
PathFilter filter)
|
FileStatus[] |
globStatus(String pathPattern)
|
FileStatus[] |
globStatus(String pathPattern,
PathFilter filter)
|
int |
hashCode()
|
void |
initialize(URI name,
Configuration conf)
|
boolean |
isDirectory(Path f)
|
boolean |
isDirectory(String f)
|
boolean |
isFile(Path f)
|
boolean |
isFile(String f)
|
FileStatus[] |
listStatus(Path f)
|
FileStatus[] |
listStatus(Path[] files)
|
FileStatus[] |
listStatus(Path[] files,
PathFilter filter)
|
FileStatus[] |
listStatus(Path f,
PathFilter filter)
|
FileStatus[] |
listStatus(String f)
|
FileStatus[] |
listStatus(String[] files)
|
FileStatus[] |
listStatus(String[] files,
PathFilter filter)
|
FileStatus[] |
listStatus(String f,
PathFilter filter)
|
Path |
makeQualified(Path path)
|
Path |
makeQualified(String path)
|
boolean |
mkdirs(Path f)
|
boolean |
mkdirs(Path f,
FsPermission permission)
|
boolean |
mkdirs(String f)
|
boolean |
mkdirs(String f,
short permission)
|
void |
moveFromLocalFile(Path[] srcs,
Path dst)
|
void |
moveFromLocalFile(Path src,
Path dst)
|
void |
moveFromLocalFile(String[] srcs,
String dst)
|
void |
moveFromLocalFile(String src,
String dst)
|
void |
moveToLocalFile(Path src,
Path dst)
|
void |
moveToLocalFile(String src,
String dst)
|
FSDataInputStream |
open(Path f)
|
FSDataInputStream |
open(Path f,
int bufferSize)
|
FSDataInputStream |
open(String f)
|
FSDataInputStream |
open(String f,
int bufferSize)
|
boolean |
rename(Path src,
Path dst)
|
boolean |
rename(String src,
String dst)
|
void |
setConf(Configuration conf)
|
void |
setOwner(Path p,
String username,
String groupname)
|
void |
setOwner(String p,
String username,
String groupname)
|
void |
setPermission(Path p,
FsPermission permission)
|
void |
setPermission(String p,
short permission)
|
boolean |
setReplication(Path src,
short replication)
|
boolean |
setReplication(String src,
short replication)
|
void |
setTimes(Path p,
long mtime,
long atime)
|
void |
setTimes(String p,
long mtime,
long atime)
|
void |
setVerifyChecksum(boolean verifyChecksum)
|
void |
setWorkingDirectory(Path new_dir)
|
Path |
startLocalOutput(Path fsOutputFile,
Path tmpLocalFile)
|
Path |
startLocalOutput(String fsOutputFile,
String tmpLocalFile)
|
String |
toString()
|
| Methods inherited from class org.apache.hadoop.fs.FileSystem |
addFileSystemForTesting, checkPath, clearStatistics, closeAll, closeAllForUGI, concat, create, createNonRecursive, createNonRecursive, get, get, get, getAllStatistics, getCacheSize, getCanonicalUri, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDefaultUri, getLocal, getNamed, getStatistics, getStatistics, mkdirs, printStatistics, processDeleteOnExit, setDefaultUri, setDefaultUri |
SimplerFileSystem
public SimplerFileSystem(FileSystem fs)
- Constructs a new
SimplerFileSystem instance.
- Parameters:
fs - Hadoop file system to use.
setConf
public void setConf(Configuration conf)
- Specified by:
setConf in interface Configurable- Overrides:
setConf in class Configured
getConf
public Configuration getConf()
- Specified by:
getConf in interface Configurable- Overrides:
getConf in class Configured
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
initialize
public void initialize(URI name,
Configuration conf)
throws IOException
- Overrides:
initialize in class FileSystem
- Throws:
IOException
getUri
public URI getUri()
- Specified by:
getUri in class FileSystem
getCanonicalServiceName
public String getCanonicalServiceName()
- Overrides:
getCanonicalServiceName in class FileSystem
getName
public String getName()
- Overrides:
getName in class FileSystem
toString
public String toString()
- Overrides:
toString in class Object
makeQualified
public Path makeQualified(String path)
makeQualified
public Path makeQualified(Path path)
- Overrides:
makeQualified in class FileSystem
getFileBlockLocations
public BlockLocation[] getFileBlockLocations(FileStatus file,
long start,
long len)
throws IOException
- Overrides:
getFileBlockLocations in class FileSystem
- Throws:
IOException
open
public FSDataInputStream open(String f,
int bufferSize)
throws IOException
- Throws:
IOException
open
public FSDataInputStream open(Path f,
int bufferSize)
throws IOException
- Specified by:
open in class FileSystem
- Throws:
IOException
open
public FSDataInputStream open(String f)
throws IOException
- Throws:
IOException
open
public FSDataInputStream open(Path f)
throws IOException
- Overrides:
open in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
boolean overwrite)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
boolean overwrite)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
Progressable progress)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
Progressable progress)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
short replication)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
short replication)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
short replication,
Progressable progress)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
short replication,
Progressable progress)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
boolean overwrite,
int bufferSize)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
boolean overwrite,
int bufferSize)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
boolean overwrite,
int bufferSize,
Progressable progress)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
boolean overwrite,
int bufferSize,
Progressable progress)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
throws IOException
- Overrides:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
throws IOException
- Throws:
IOException
create
public FSDataOutputStream create(Path f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
throws IOException
- Specified by:
create in class FileSystem
- Throws:
IOException
create
public FSDataOutputStream create(String f,
FsPermission permission,
boolean overwrite,
int bufferSize,
short replication,
long blockSize,
Progressable progress)
throws IOException
- Throws:
IOException
createNewFile
public boolean createNewFile(String f)
throws IOException
- Throws:
IOException
createNewFile
public boolean createNewFile(Path f)
throws IOException
- Overrides:
createNewFile in class FileSystem
- Throws:
IOException
append
public FSDataOutputStream append(String f)
throws IOException
- Throws:
IOException
append
public FSDataOutputStream append(Path f)
throws IOException
- Overrides:
append in class FileSystem
- Throws:
IOException
append
public FSDataOutputStream append(Path f,
int bufferSize)
throws IOException
- Overrides:
append in class FileSystem
- Throws:
IOException
append
public FSDataOutputStream append(String f,
int bufferSize)
throws IOException
- Throws:
IOException
append
public FSDataOutputStream append(Path f,
int bufferSize,
Progressable progress)
throws IOException
- Specified by:
append in class FileSystem
- Throws:
IOException
append
public FSDataOutputStream append(String f,
int bufferSize,
Progressable progress)
throws IOException
- Throws:
IOException
getReplication
public short getReplication(Path src)
throws IOException
- Overrides:
getReplication in class FileSystem
- Throws:
IOException
getReplication
public short getReplication(String src)
throws IOException
- Throws:
IOException
setReplication
public boolean setReplication(Path src,
short replication)
throws IOException
- Overrides:
setReplication in class FileSystem
- Throws:
IOException
setReplication
public boolean setReplication(String src,
short replication)
throws IOException
- Throws:
IOException
rename
public boolean rename(Path src,
Path dst)
throws IOException
- Specified by:
rename in class FileSystem
- Throws:
IOException
rename
public boolean rename(String src,
String dst)
throws IOException
- Throws:
IOException
delete
public boolean delete(Path f)
throws IOException
- Specified by:
delete in class FileSystem
- Throws:
IOException
delete
public boolean delete(String f)
throws IOException
- Throws:
IOException
delete
public boolean delete(Path f,
boolean recursive)
throws IOException
- Specified by:
delete in class FileSystem
- Throws:
IOException
delete
public boolean delete(String f,
boolean recursive)
throws IOException
- Throws:
IOException
deleteOnExit
public boolean deleteOnExit(Path f)
throws IOException
- Overrides:
deleteOnExit in class FileSystem
- Throws:
IOException
deleteOnExit
public boolean deleteOnExit(String f)
throws IOException
- Throws:
IOException
exists
public boolean exists(Path f)
throws IOException
- Overrides:
exists in class FileSystem
- Throws:
IOException
exists
public boolean exists(String f)
throws IOException
- Throws:
IOException
isDirectory
public boolean isDirectory(Path f)
throws IOException
- Overrides:
isDirectory in class FileSystem
- Throws:
IOException
isDirectory
public boolean isDirectory(String f)
throws IOException
- Throws:
IOException
isFile
public boolean isFile(Path f)
throws IOException
- Overrides:
isFile in class FileSystem
- Throws:
IOException
isFile
public boolean isFile(String f)
throws IOException
- Throws:
IOException
getLength
public long getLength(Path f)
throws IOException
- Overrides:
getLength in class FileSystem
- Throws:
IOException
getLength
public long getLength(String f)
throws IOException
- Throws:
IOException
getContentSummary
public ContentSummary getContentSummary(Path f)
throws IOException
- Overrides:
getContentSummary in class FileSystem
- Throws:
IOException
getContentSummary
public ContentSummary getContentSummary(String f)
throws IOException
- Throws:
IOException
listStatus
public FileStatus[] listStatus(Path f)
throws IOException
- Specified by:
listStatus in class FileSystem
- Throws:
IOException
listStatus
public FileStatus[] listStatus(String f)
throws IOException
- Throws:
IOException
listStatus
public FileStatus[] listStatus(Path f,
PathFilter filter)
throws IOException
- Overrides:
listStatus in class FileSystem
- Throws:
IOException
listStatus
public FileStatus[] listStatus(String f,
PathFilter filter)
throws IOException
- Throws:
IOException
listStatus
public FileStatus[] listStatus(Path[] files)
throws IOException
- Overrides:
listStatus in class FileSystem
- Throws:
IOException
listStatus
public FileStatus[] listStatus(String[] files)
throws IOException
- Throws:
IOException
listStatus
public FileStatus[] listStatus(Path[] files,
PathFilter filter)
throws IOException
- Overrides:
listStatus in class FileSystem
- Throws:
IOException
listStatus
public FileStatus[] listStatus(String[] files,
PathFilter filter)
throws IOException
- Throws:
IOException
globStatus
public FileStatus[] globStatus(Path pathPattern)
throws IOException
- Overrides:
globStatus in class FileSystem
- Throws:
IOException
globStatus
public FileStatus[] globStatus(String pathPattern)
throws IOException
- Throws:
IOException
globStatus
public FileStatus[] globStatus(Path pathPattern,
PathFilter filter)
throws IOException
- Overrides:
globStatus in class FileSystem
- Throws:
IOException
globStatus
public FileStatus[] globStatus(String pathPattern,
PathFilter filter)
throws IOException
- Throws:
IOException
getHomeDirectory
public Path getHomeDirectory()
- Overrides:
getHomeDirectory in class FileSystem
getDelegationToken
public org.apache.hadoop.security.token.Token<?> getDelegationToken(String renewer)
throws IOException
- Overrides:
getDelegationToken in class FileSystem
- Throws:
IOException
setWorkingDirectory
public void setWorkingDirectory(Path new_dir)
- Specified by:
setWorkingDirectory in class FileSystem
getWorkingDirectory
public Path getWorkingDirectory()
- Specified by:
getWorkingDirectory in class FileSystem
mkdirs
public boolean mkdirs(Path f)
throws IOException
- Overrides:
mkdirs in class FileSystem
- Throws:
IOException
mkdirs
public boolean mkdirs(String f)
throws IOException
- Throws:
IOException
mkdirs
public boolean mkdirs(Path f,
FsPermission permission)
throws IOException
- Specified by:
mkdirs in class FileSystem
- Throws:
IOException
mkdirs
public boolean mkdirs(String f,
short permission)
throws IOException
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(Path src,
Path dst)
throws IOException
- Overrides:
copyFromLocalFile in class FileSystem
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(String src,
String dst)
throws IOException
- Throws:
IOException
moveFromLocalFile
public void moveFromLocalFile(Path[] srcs,
Path dst)
throws IOException
- Overrides:
moveFromLocalFile in class FileSystem
- Throws:
IOException
moveFromLocalFile
public void moveFromLocalFile(String[] srcs,
String dst)
throws IOException
- Throws:
IOException
moveFromLocalFile
public void moveFromLocalFile(Path src,
Path dst)
throws IOException
- Overrides:
moveFromLocalFile in class FileSystem
- Throws:
IOException
moveFromLocalFile
public void moveFromLocalFile(String src,
String dst)
throws IOException
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(boolean delSrc,
Path src,
Path dst)
throws IOException
- Overrides:
copyFromLocalFile in class FileSystem
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(boolean delSrc,
String src,
String dst)
throws IOException
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path[] srcs,
Path dst)
throws IOException
- Overrides:
copyFromLocalFile in class FileSystem
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(boolean delSrc,
boolean overwrite,
String[] srcs,
String dst)
throws IOException
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(boolean delSrc,
boolean overwrite,
Path src,
Path dst)
throws IOException
- Overrides:
copyFromLocalFile in class FileSystem
- Throws:
IOException
copyFromLocalFile
public void copyFromLocalFile(boolean delSrc,
boolean overwrite,
String src,
String dst)
throws IOException
- Throws:
IOException
copyToLocalFile
public void copyToLocalFile(Path src,
Path dst)
throws IOException
- Overrides:
copyToLocalFile in class FileSystem
- Throws:
IOException
copyToLocalFile
public void copyToLocalFile(String src,
String dst)
throws IOException
- Throws:
IOException
moveToLocalFile
public void moveToLocalFile(Path src,
Path dst)
throws IOException
- Overrides:
moveToLocalFile in class FileSystem
- Throws:
IOException
moveToLocalFile
public void moveToLocalFile(String src,
String dst)
throws IOException
- Throws:
IOException
copyToLocalFile
public void copyToLocalFile(boolean delSrc,
Path src,
Path dst)
throws IOException
- Overrides:
copyToLocalFile in class FileSystem
- Throws:
IOException
copyToLocalFile
public void copyToLocalFile(boolean delSrc,
String src,
String dst)
throws IOException
- Throws:
IOException
startLocalOutput
public Path startLocalOutput(Path fsOutputFile,
Path tmpLocalFile)
throws IOException
- Overrides:
startLocalOutput in class FileSystem
- Throws:
IOException
startLocalOutput
public Path startLocalOutput(String fsOutputFile,
String tmpLocalFile)
throws IOException
- Throws:
IOException
completeLocalOutput
public void completeLocalOutput(Path fsOutputFile,
Path tmpLocalFile)
throws IOException
- Overrides:
completeLocalOutput in class FileSystem
- Throws:
IOException
completeLocalOutput
public void completeLocalOutput(String fsOutputFile,
String tmpLocalFile)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class FileSystem
- Throws:
IOException
getUsed
public long getUsed()
throws IOException
- Overrides:
getUsed in class FileSystem
- Throws:
IOException
getBlockSize
public long getBlockSize(Path f)
throws IOException
- Overrides:
getBlockSize in class FileSystem
- Throws:
IOException
getBlockSize
public long getBlockSize(String f)
throws IOException
- Throws:
IOException
getDefaultBlockSize
public long getDefaultBlockSize()
- Overrides:
getDefaultBlockSize in class FileSystem
getDefaultReplication
public short getDefaultReplication()
- Overrides:
getDefaultReplication in class FileSystem
getFileStatus
public FileStatus getFileStatus(Path f)
throws IOException
- Specified by:
getFileStatus in class FileSystem
- Throws:
IOException
getFileStatus
public FileStatus getFileStatus(String f)
throws IOException
- Throws:
IOException
getFileChecksum
public FileChecksum getFileChecksum(Path f)
throws IOException
- Overrides:
getFileChecksum in class FileSystem
- Throws:
IOException
getFileChecksum
public FileChecksum getFileChecksum(String f)
throws IOException
- Throws:
IOException
setVerifyChecksum
public void setVerifyChecksum(boolean verifyChecksum)
- Overrides:
setVerifyChecksum in class FileSystem
setPermission
public void setPermission(Path p,
FsPermission permission)
throws IOException
- Overrides:
setPermission in class FileSystem
- Throws:
IOException
setPermission
public void setPermission(String p,
short permission)
throws IOException
- Throws:
IOException
setOwner
public void setOwner(Path p,
String username,
String groupname)
throws IOException
- Overrides:
setOwner in class FileSystem
- Throws:
IOException
setOwner
public void setOwner(String p,
String username,
String groupname)
throws IOException
- Throws:
IOException
setTimes
public void setTimes(Path p,
long mtime,
long atime)
throws IOException
- Overrides:
setTimes in class FileSystem
- Throws:
IOException
setTimes
public void setTimes(String p,
long mtime,
long atime)
throws IOException
- Throws:
IOException