|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFileParser
Interface for metadata extractors / file parsers.
| Method Summary | |
|---|---|
boolean |
check(DeepFile deepFile)
Checks if there is a File in correct format and can be read by the parser. |
void |
extract(DeepFile deepFile)
Extracts metadata and file contents. |
void |
propagate(DeepFile deepFile)
Propagates the metadata and file contents back to the file in the file system. |
| Method Detail |
|---|
boolean check(DeepFile deepFile)
throws IOException
Checks if there is a File in correct format and can be read by the parser. Checks e.g. header bytes.
deepFile - the DeepFile to read from
IOException - if an error occurs while reading from the file
void extract(DeepFile deepFile)
throws IOException
deepFile - the DeepFile to save metadata and content to
IOException - if any error occurs while reading from the file
void propagate(DeepFile deepFile)
throws IOException
deepFile - the DeepFile that contains the metadata and file
contents
IOException - if any error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||