Interface OutputFile

    • Method Detail

      • createOrOverwrite

        PositionOutputStream createOrOverwrite()
        Create a new file and return a PositionOutputStream to it.

        If the file already exists, this will not throw an exception and will replace the file.

        Returns:
        an output stream that can report its position
        Throws:
        RuntimeIOException - If the implementation throws an IOException
        java.lang.SecurityException - If staging directory creation fails due to missing JVM level permission
      • location

        java.lang.String location()
        Return the location this output file will create.
        Returns:
        the location of this output file
      • toInputFile

        InputFile toInputFile()
        Return an InputFile for the location of this output file.
        Returns:
        an input file for the location of this output file