Package gov.nasa.arc.pds.tools.container
Class FileMirror
- java.lang.Object
- 
- gov.nasa.arc.pds.tools.container.FileMirror
 
- 
- All Implemented Interfaces:
- BaseContainerInterface,- java.io.Serializable
 
 public class FileMirror extends java.lang.Object implements java.io.Serializable, BaseContainerInterface A representation of a File object when the file is no longer accessible. For example, an applet may collect information about files on a user's system. Analysis of these files may be necessary once the results are sent back to a server. In order to do so, certain file characteristics need to be burned in (such as whether the file is a directory).- Version:
- $Revision: $
- Author:
- jagander
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.BooleanisDirectoryprotected longlengthprotected java.lang.Stringnameprotected java.lang.Stringparentprotected java.lang.StringrelativePath
 - 
Constructor SummaryConstructors Constructor Description FileMirror(java.io.File file, java.io.File root)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetName()java.lang.StringgetParent()java.lang.StringgetRelativePath()java.lang.BooleanisDirectory()longlength()
 
- 
- 
- 
Method Detail- 
getNamepublic java.lang.String getName() 
 - 
isDirectorypublic java.lang.Boolean isDirectory() 
 - 
getRelativePathpublic java.lang.String getRelativePath() 
 - 
getParentpublic java.lang.String getParent() 
 - 
lengthpublic long length() 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 
- 
 
-