Class HotFileFromJava

java.lang.Object
org.aksw.jena_sparql_api.io.endpoint.HotFileFromJava
All Implemented Interfaces:
org.aksw.commons.io.endpoint.FileCreation, HotFile

public class HotFileFromJava extends Object implements HotFile
  • Field Details

  • Constructor Details

  • Method Details

    • future

      public CompletableFuture<Path> future()
      Specified by:
      future in interface org.aksw.commons.io.endpoint.FileCreation
    • abort

      public void abort() throws Exception
      Specified by:
      abort in interface org.aksw.commons.io.endpoint.FileCreation
      Throws:
      Exception
    • newInputStream

      public InputStream newInputStream() throws IOException
      Description copied from interface: HotFile
      Open a new stream to the hot file The input stream delivery may be delayed until after the file creation is complete. TODO Add a flag to hint the methods behavior
      Specified by:
      newInputStream in interface HotFile
      Returns:
      Throws:
      IOException
    • toString

      public String toString()
      Overrides:
      toString in class Object