Class FileDescription
- java.lang.Object
-
- org.silverpeas.core.index.indexing.model.FileDescription
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JcrContent
public class FileDescription extends Object implements Serializable
A FileDescription pack all the needed information to parse and index a file. We need :- the path to the file
- the encoding of the file
- the format of the file
- the language of the file
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FileDescription(String path, String encoding, String format, String lang)
Set the new FileDescription with the given path, encoding, format and language.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getEncoding()
Return the file encodingString
getFormat()
Return the file formatString
getLang()
Return the file languageString
getPath()
Return the file pathint
hashCode()
-