public interface LockedChannel
extends java.io.Closeable
Reader
, Writer
,
InputStream
, or OutputStream
.Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
newInputStream()
Create a new
InputStream . |
java.io.OutputStream |
newOutputStream()
Create a new
OutputStream . |
java.io.Reader |
newReader()
Create a UTF-8
Reader . |
java.io.Writer |
newWriter()
Create a new UTF-8
Writer . |
java.io.Reader newReader() throws java.io.IOException
Reader
.java.io.IOException
- if the reader could not be createdjava.io.InputStream newInputStream() throws java.io.IOException
InputStream
.java.io.IOException
- if an input stream could not be createdjava.io.Writer newWriter() throws java.io.IOException
Writer
.java.io.IOException
- if a writer could not be createdjava.io.OutputStream newOutputStream() throws java.io.IOException
OutputStream
.java.io.IOException
- if an output stream could not be created