public class OwUnicodeInputStream extends InputStream
Class OwUnicodeInputStream.
The class recognize unicode BOM marks and will skip bytes:
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getDefaultEncoding() |
String |
getEncoding() |
protected void |
init()
Read-ahead four bytes and check for BOM marks.
|
int |
read() |
available, mark, markSupported, read, read, reset, skippublic String getDefaultEncoding()
public String getEncoding()
protected void init()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.