Package org.sosy_lab.common.io
Class TempFile.DeleteOnCloseFile
- java.lang.Object
-
- org.sosy_lab.common.io.MoreFiles.DeleteOnCloseFile
-
- org.sosy_lab.common.io.TempFile.DeleteOnCloseFile
-
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- TempFile
@Immutable public static final class TempFile.DeleteOnCloseFile extends MoreFiles.DeleteOnCloseFile implements AutoCloseable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
ByteSink
toByteSink()
ByteSource
toByteSource()
CharSink
toCharSink(Charset charset)
CharSource
toCharSource(Charset charset)
Path
toPath()
-
-
-
Method Detail
-
toByteSource
public ByteSource toByteSource()
-
toByteSink
public ByteSink toByteSink()
-
toCharSource
public CharSource toCharSource(Charset charset)
-
toPath
public Path toPath()
- Overrides:
toPath
in classMoreFiles.DeleteOnCloseFile
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Overrides:
close
in classMoreFiles.DeleteOnCloseFile
- Throws:
IOException
-
-