thredds.filesystem
Class CacheFile
java.lang.Object
thredds.filesystem.CacheFile
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- CacheDirectory
public class CacheFile
- extends Object
- implements Serializable
Lightweight, serializable representation of a java.io.File with arbitrary attributes.
- Since:
- Mar 21, 2009
- Author:
- caron
- See Also:
- Serialized Form
shortName
protected String shortName
lastModified
protected long lastModified
length
protected long length
isDirectory
protected boolean isDirectory
CacheFile
public CacheFile()
CacheFile
public CacheFile(File f)
getShortName
public String getShortName()
getLastModified
public long getLastModified()
getLength
public long getLength()
isDirectory
public boolean isDirectory()
setAttribute
public void setAttribute(String key,
Object value)
getAttribute
public Object getAttribute(String key)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.