Class LocalInputFile

  • All Implemented Interfaces:
    InputFile<java.io.File>

    public class LocalInputFile
    extends java.lang.Object
    implements InputFile<java.io.File>
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalInputFile​(java.io.File data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attachTo​(okhttp3.MultipartBody.Builder builder)  
      java.io.File getData()  
      java.lang.String getIdentifier()
      Identifier for the InputFile If non-null, then this will use the attach protocol and call the attachTo method
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocalInputFile

        public LocalInputFile​(java.io.File data)
    • Method Detail

      • getIdentifier

        public java.lang.String getIdentifier()
        Description copied from interface: InputFile
        Identifier for the InputFile If non-null, then this will use the attach protocol and call the attachTo method
        Specified by:
        getIdentifier in interface InputFile<java.io.File>
      • attachTo

        public void attachTo​(okhttp3.MultipartBody.Builder builder)
        Specified by:
        attachTo in interface InputFile<java.io.File>
      • getData

        public java.io.File getData()
        Specified by:
        getData in interface InputFile<java.io.File>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object