Interface FileLoader.FileOpener<Data>

  • Type Parameters:
    Data - The type of data that can be opened.
    Enclosing class:
    FileLoader<Data>

    public static interface FileLoader.FileOpener<Data>
    Allows opening a specific type of data from a File.
    • Method Detail

      • open

        Data open​(java.io.File file)
           throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
      • close

        void close​(Data data)
            throws java.io.IOException
        Throws:
        java.io.IOException
      • getDataClass

        java.lang.Class<Data> getDataClass()