Interface DataUrlLoader.DataDecoder<Data>

  • Type Parameters:
    Data - The type of data that can be opened.
    Enclosing class:
    DataUrlLoader<Model,​Data>

    public static interface DataUrlLoader.DataDecoder<Data>
    Allows decoding a specific type of data from a Data URL String.
    • Method Detail

      • decode

        Data decode​(java.lang.String uri)
             throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
      • close

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

        java.lang.Class<Data> getDataClass()