Reusable Java library of general tools with minimal external dependencies.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact
public class CommentCaptureInputStream extends InputStream
This class is optimized for reading Properties files and assumes
ISO-8859-1 encoding.
Java 1.9: Read properties files via Reader in UTF-8 format
| Constructor and Description |
|---|
CommentCaptureInputStream(InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
List<String> |
getComments() |
int |
read() |
mark, markSupported, read, read, reset, skippublic CommentCaptureInputStream(InputStream in)
public int read()
throws IOException
read in class InputStreamIOExceptionpublic int available()
throws IOException
available in class InputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2000–2019 AO Industries, Inc.. All rights reserved.