Package org.jboss.vfs.util
Class PaddedManifestStream
java.lang.Object
java.io.InputStream
org.jboss.vfs.util.PaddedManifestStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
Appends a new line char to the stream if it doesn't have one as his last byte.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Field Details
-
realStream
-
previousChar
private int previousChar
-
-
Constructor Details
-
PaddedManifestStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-