com.univocity.parsers.common.input
Class BomInput.BytesProcessedNotification

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.univocity.parsers.common.input.BomInput.BytesProcessedNotification
All Implemented Interfaces:
Serializable
Enclosing class:
BomInput

public static final class BomInput.BytesProcessedNotification
extends RuntimeException

Internal notification exception used to re-wrap the original InputStream into a Reader. This is required for performance reasons as overriding InputStream.read() incurs a heavy performance penalty when the implementation is native (as in FileInputStream.read().

See Also:
Serialized Form

Field Summary
 String encoding
           
 InputStream input
           
 
Constructor Summary
BomInput.BytesProcessedNotification(InputStream input, String encoding)
           
 
Method Summary
 Throwable fillInStackTrace()
           
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

input

public final InputStream input

encoding

public final String encoding
Constructor Detail

BomInput.BytesProcessedNotification

public BomInput.BytesProcessedNotification(InputStream input,
                                           String encoding)
Method Detail

fillInStackTrace

public Throwable fillInStackTrace()
Overrides:
fillInStackTrace in class Throwable


Copyright © 2017 uniVocity Software Pty Ltd. All rights reserved.