Package tv.hd3g.transfertfiles
Class CachedFileAttributes
java.lang.Object
tv.hd3g.transfertfiles.CachedFileAttributes
-
Constructor Summary
ConstructorsConstructorDescriptionCachedFileAttributes(AbstractFile abstractFile) Not optimized approach directly derived from AbstractFile.CachedFileAttributes(AbstractFile abstractFile, long length, long lastModified, boolean exists, boolean directory, boolean file, boolean link, boolean special) Attributes and AbstractFile attributes shoud be the same values (at the least on the creation). -
Method Summary
-
Constructor Details
-
CachedFileAttributes
public CachedFileAttributes(AbstractFile abstractFile, long length, long lastModified, boolean exists, boolean directory, boolean file, boolean link, boolean special) Attributes and AbstractFile attributes shoud be the same values (at the least on the creation). -
CachedFileAttributes
Not optimized approach directly derived from AbstractFile.
-
-
Method Details
-
notExists
-
getAbstractFile
- Returns:
- the original data source. Warning: linked AbstractFileSystem may be disconnected.
-
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
-