Package cz.o2.proxima.direct.io.bulkfs
Class LocalPath
- java.lang.Object
-
- cz.o2.proxima.direct.io.bulkfs.LocalPath
-
public class LocalPath extends java.lang.Object implements Path
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocalPath(java.io.File path, FileSystem fs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Path other)voiddelete()Delete thisPath.FileSystemgetFileSystem()RetrieveFileSystemof this Path.java.io.InputStreamreader()Open input stream from given Path.java.lang.StringtoString()java.io.OutputStreamwriter()Open output stream to the Path.
-
-
-
Constructor Detail
-
LocalPath
public LocalPath(java.io.File path, FileSystem fs)
-
-
Method Detail
-
reader
public java.io.InputStream reader() throws java.io.IOExceptionDescription copied from interface:PathOpen input stream from given Path.
-
writer
public java.io.OutputStream writer() throws java.io.IOExceptionDescription copied from interface:PathOpen output stream to the Path.
-
getFileSystem
public FileSystem getFileSystem()
Description copied from interface:PathRetrieveFileSystemof this Path.- Specified by:
getFileSystemin interfacePath- Returns:
FileSystemassociated with thePath.
-
delete
public void delete() throws java.io.IOExceptionDescription copied from interface:PathDelete thisPath.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-