Class TempWorkspace

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class TempWorkspace
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Constructor Summary

      Constructors 
      Constructor Description
      TempWorkspace()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.io.File getFile​(java.lang.String filename)  
      java.io.File writeToFile​(java.lang.String filename, java.io.InputStream inputStream)  
      • Methods inherited from class java.lang.Object

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

      • TempWorkspace

        public TempWorkspace()
                      throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • writeToFile

        public java.io.File writeToFile​(java.lang.String filename,
                                        java.io.InputStream inputStream)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getFile

        public java.io.File getFile​(java.lang.String filename)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException