Class GenericFileNameParser

    • Constructor Detail

      • GenericFileNameParser

        public GenericFileNameParser()
    • Method Detail

      • getInstance

        public static GenericFileNameParser getInstance()
        retrieve a instance to this parser.
        Returns:
        the parser
      • extractRootPrefix

        protected java.lang.String extractRootPrefix​(java.lang.String uri,
                                                     java.lang.StringBuilder name)
                                              throws FileSystemException
        Pops the root prefix off a URI, which has had the scheme removed.
        Specified by:
        extractRootPrefix in class LocalFileNameParser
        Parameters:
        uri - the whole URI for error reporting.
        name - the URI to modify.
        Returns:
        the root prefix extracted.
        Throws:
        FileSystemException - if an error occurs.