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 voidclose()ByteSinktoByteSink()ByteSourcetoByteSource()CharSinktoCharSink(Charset charset)CharSourcetoCharSource(Charset charset)PathtoPath()
-
-
-
Method Detail
-
toByteSource
public ByteSource toByteSource()
-
toByteSink
public ByteSink toByteSink()
-
toCharSource
public CharSource toCharSource(Charset charset)
-
toPath
public Path toPath()
- Overrides:
toPathin classMoreFiles.DeleteOnCloseFile
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classMoreFiles.DeleteOnCloseFile- Throws:
IOException
-
-