Class OpenOfficeURI


  • public class OpenOfficeURI
    extends Object
    A class that attempts to embody OpenOffice's rules for encoding file URIs which appear to differ from Java's. A Windows style path is always prefixed "file:///" whereas a unix one is prefixed "file://".
    Author:
    dward
    • Constructor Detail

      • OpenOfficeURI

        public OpenOfficeURI​(String source)
                      throws IOException
        Instantiates a new open office URI.
        Parameters:
        source - the source file name to convert to a URI
        Throws:
        IOException - if the string cannot be resolved to a canonical file path