public class DiskFileRepresentation
This is implementation represents a java.io.File object as a FileRepresentation object. Corresponds to DiskPathRepresentation implementation of PathRepresentation.
Type Params | Return Type | Name and description |
---|---|---|
|
public int |
compareTo(DiskFileRepresentation o) |
|
public boolean |
createNewFile() |
|
public boolean |
delete() |
|
public boolean |
equals(java.lang.Object o) |
|
public boolean |
exists() |
|
public FilePathRepresentationFactory |
factory() |
|
public FileRepresentation |
getAbsoluteFile() |
|
public java.lang.String |
getAbsolutePath() |
|
public java.lang.String |
getName() |
|
public int |
hashCode() |
|
public java.io.InputStream |
inputStream() |
|
public boolean |
isDirectory() |
|
public boolean |
isFile() |
|
public java.lang.String[] |
list() |
|
public FileRepresentation[] |
listFiles(FileRepresentationFilter filter) |
|
public boolean |
mkdir() |
|
public java.io.OutputStream |
outputStream() |
|
public java.io.FileReader |
reader() |
|
public PathRepresentation |
toPath() |
|
public java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |