Package tv.hd3g.transfertfiles
Class FileAttributesReference
java.lang.Object
tv.hd3g.transfertfiles.FileAttributesReference
- Direct Known Subclasses:
CachedFileAttributes
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileAttributesReference(String path, long length, long lastModified, boolean exists, boolean directory) Create a regular file/dirFileAttributesReference(String path, long length, long lastModified, boolean exists, boolean directory, boolean file, boolean link, boolean special) -
Method Summary
-
Field Details
-
path
-
length
protected final long length -
lastModified
protected final long lastModified -
exists
protected final boolean exists -
directory
protected final boolean directory -
file
protected final boolean file -
link
protected final boolean link -
special
protected final boolean special
-
-
Constructor Details
-
FileAttributesReference
public FileAttributesReference(String path, long length, long lastModified, boolean exists, boolean directory, boolean file, boolean link, boolean special) -
FileAttributesReference
public FileAttributesReference(String path, long length, long lastModified, boolean exists, boolean directory) Create a regular file/dir
-
-
Method Details
-
getName
-
getPath
-
toString
-
getParentPath
-
isHidden
public boolean isHidden() -
length
public long length() -
lastModified
public long lastModified() -
exists
public boolean exists() -
isDirectory
public boolean isDirectory() -
isFile
public boolean isFile() -
isLink
public boolean isLink() -
isSpecial
public boolean isSpecial() -
hashCode
public int hashCode() -
equals
-