Package org.aksw.commons.util.string
Class FileNameParser
java.lang.Object
org.aksw.commons.util.string.FileNameParser
Parse file name patterns of the form baseName.contentType.encoding1.encodingN
Limitation: Currently does not support compound contentTypes such as "rdf.xml".
Implementation needs to be revised such that it can "chip away" suffixes of the file name.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFileNameParser(Predicate<String> isContent, Predicate<String> isEncoding) -
Method Summary
-
Field Details
-
isContent
-
isEncoding
-
-
Constructor Details
-
FileNameParser
-
-
Method Details
-
of
-
parse
-
main
-