com.sapportals.wcm.protocol.webdav

Class BOMPeekingInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by com.sapportals.wcm.protocol.webdav.BOMPeekingInputStream
All Implemented Interfaces:
Closeable

public class BOMPeekingInputStream
extends BufferedInputStream

Copyright (c) SAP AG 2003


Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
BOMPeekingInputStream(InputStream baseStream)
           
 
Method Summary
 String getEncoding()
           
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BOMPeekingInputStream

public BOMPeekingInputStream(InputStream baseStream)
Method Detail

getEncoding

public String getEncoding()
Returns:
guessed encoding of input stream based on byte order mark (detects "UTF-8" and UTF-16 variants as "UTF-16", otherwise null).
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice