Uses of Class
cool.scx.io.exception.AlreadyClosedException
Packages that use AlreadyClosedException
-
Uses of AlreadyClosedException in cool.scx.io
Methods in cool.scx.io that throw AlreadyClosedExceptionModifier and TypeMethodDescriptionvoidByteOutput.flush()voidNullByteOutput.flush()voidOutputStreamByteOutput.flush()default ByteMatchResultByteInput.indexOf(byte b) default ByteMatchResultByteInput.indexOf(byte[] b) default ByteMatchResultByteInput.indexOf(byte[] b, long maxLength) default ByteMatchResultByteInput.indexOf(byte b, long maxLength) default ByteMatchResultByteInput.indexOf(ByteIndexer byteIndexer) ByteInput.indexOf(ByteIndexer indexer, long maxLength) 在最多 maxLength 个字节中查找匹配 (或直到 EOF).DefaultByteInput.indexOf(ByteIndexer indexer, long maxLength) NullByteInput.indexOf(ByteIndexer indexer, long maxLength) ByteInput.mark()在当前读取位置创建一个标记对象.DefaultByteInput.mark()NullByteInput.mark()byteByteInput.peek()查看字节, 行为参考ByteInput.read()default byte[]ByteInput.peek(int maxLength) <X extends Throwable>
voidByteInput.peek(ByteConsumer<X> byteConsumer, long maxLength) 查看字节, 行为参考ByteInput.read(ByteConsumer, long)byteDefaultByteInput.peek()<X extends Throwable>
voidDefaultByteInput.peek(ByteConsumer<X> byteConsumer, long maxLength) byteNullByteInput.peek()<X extends Throwable>
voidNullByteInput.peek(ByteConsumer<X> byteConsumer, long maxLength) default byte[]ByteInput.peekAll()default <X extends Throwable>
voidByteInput.peekAll(ByteConsumer<X> byteConsumer) default byte[]ByteInput.peekFully(int length) <X extends Throwable>
voidByteInput.peekFully(ByteConsumer<X> byteConsumer, long length) 查看字节, 行为参考ByteInput.readFully(ByteConsumer, long)<X extends Throwable>
voidDefaultByteInput.peekFully(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.peekFully(ByteConsumer<X> byteConsumer, long length) default byte[]ByteInput.peekUntil(byte b) default byte[]ByteInput.peekUntil(byte[] b) default byte[]ByteInput.peekUntil(byte[] b, int maxLength) default byte[]ByteInput.peekUntil(byte b, int maxLength) default byte[]ByteInput.peekUntil(ByteIndexer byteIndexer) default byte[]ByteInput.peekUntil(ByteIndexer byteIndexer, int maxLength) default byte[]ByteInput.peekUpTo(int length) <X extends Throwable>
voidByteInput.peekUpTo(ByteConsumer<X> byteConsumer, long length) 查看字节, 行为参考ByteInput.readUpTo(ByteConsumer, long)<X extends Throwable>
voidDefaultByteInput.peekUpTo(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.peekUpTo(ByteConsumer<X> byteConsumer, long length) byteByteInput.read()读取单个字节default byte[]ByteInput.read(int maxLength) <X extends Throwable>
voidByteInput.read(ByteConsumer<X> byteConsumer, long maxLength) 最多读取 maxLength 个字节, 可能少于 maxLength (即使尚未遇到 EOF, 如底层缓冲区不足)byteDefaultByteInput.read()<X extends Throwable>
voidDefaultByteInput.read(ByteConsumer<X> byteConsumer, long maxLength) byteNullByteInput.read()<X extends Throwable>
voidNullByteInput.read(ByteConsumer<X> byteConsumer, long maxLength) default byte[]ByteInput.readAll()default <X extends Throwable>
voidByteInput.readAll(ByteConsumer<X> byteConsumer) default byte[]ByteInput.readFully(int length) <X extends Throwable>
voidByteInput.readFully(ByteConsumer<X> byteConsumer, long length) 恰好读取 length 个字节<X extends Throwable>
voidDefaultByteInput.readFully(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.readFully(ByteConsumer<X> byteConsumer, long length) default byte[]ByteInput.readUntil(byte b) default byte[]ByteInput.readUntil(byte[] b) default byte[]ByteInput.readUntil(byte[] b, int maxLength) default byte[]ByteInput.readUntil(byte b, int maxLength) default byte[]ByteInput.readUntil(ByteIndexer byteIndexer) default byte[]ByteInput.readUntil(ByteIndexer byteIndexer, int maxLength) 从当前 ByteInput 中读取数据直到 ByteIndexer 成功匹配.default byte[]ByteInput.readUpTo(int length) <X extends Throwable>
voidByteInput.readUpTo(ByteConsumer<X> byteConsumer, long length) 尽量读取 length 个字节, 可能少于 length (仅在 EOF 时发生)<X extends Throwable>
voidDefaultByteInput.readUpTo(ByteConsumer<X> byteConsumer, long length) <X extends Throwable>
voidNullByteInput.readUpTo(ByteConsumer<X> byteConsumer, long length) voidByteInputMark.reset()将读取位置恢复到当前 mark.default longByteInput.skip(long length) default longByteInput.skipAll()default longByteInput.skipFully(long length) default longByteInput.skipUpTo(long length) voidByteOutput.write(byte b) voidByteOutput.write(byte[] b) voidByteOutput.write(byte[] b, int off, int len) voidNullByteOutput.write(byte b) voidNullByteOutput.write(byte[] b) voidNullByteOutput.write(byte[] b, int off, int len) voidOutputStreamByteOutput.write(byte b) voidOutputStreamByteOutput.write(byte[] b) voidOutputStreamByteOutput.write(byte[] b, int off, int len) -
Uses of AlreadyClosedException in cool.scx.io.consumer
Methods in cool.scx.io.consumer that throw AlreadyClosedException -
Uses of AlreadyClosedException in cool.scx.io.supplier
Methods in cool.scx.io.supplier that throw AlreadyClosedException