Class LocalizedInput

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.lang.Readable

    public class LocalizedInput
    extends java.io.BufferedReader
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.io.InputStream in  
      • Fields inherited from class java.io.Reader

        lock
    • Constructor Summary

      Constructors 
      Constructor Description
      LocalizedInput​(java.io.InputStream i)  
      LocalizedInput​(java.io.InputStream i, java.lang.String encode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      boolean isStandardInput()  
      • Methods inherited from class java.io.BufferedReader

        lines, mark, markSupported, read, read, readLine, ready, reset, skip
      • Methods inherited from class java.io.Reader

        nullReader, read, read, transferTo
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • in

        private java.io.InputStream in
    • Constructor Detail

      • LocalizedInput

        public LocalizedInput​(java.io.InputStream i)
      • LocalizedInput

        LocalizedInput​(java.io.InputStream i,
                       java.lang.String encode)
                throws java.io.UnsupportedEncodingException
        Throws:
        java.io.UnsupportedEncodingException
    • Method Detail

      • isStandardInput

        public boolean isStandardInput()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Overrides:
        close in class java.io.BufferedReader
        Throws:
        java.io.IOException