Interface Parser
-
- All Known Implementing Classes:
TikaParser
public interface Parser
A parser is used to retrieve the text content of a file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Parser.Context
The paser context ensures to provide aReader
instance with alsoParser.Metadata
.static interface
Parser.Metadata
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Parser.Context
getContext(String path, String encoding)
-
-
-
Method Detail
-
getContext
Parser.Context getContext(String path, String encoding)
- Returns:
- a
Parser.Context
instance providing aReader
andParser.Metadata
about the file.
-
-