Class FileIO


  • @Named
    @Singleton
    public class FileIO
    extends Object
    Class to resolve Files from alternate locations
    • Method Detail

      • resolveURL

        public File resolveURL​(String reference)
                        throws IOException
        Read the raw file from a given URL. Useful if we need to read a remote file.
        Parameters:
        reference - the URL to read.
        Returns:
        the file for the URL
        Throws:
        IOException - if an error occurs.