jp.digitalmuseum.utils
クラス MixedDataReader

java.lang.Object
  上位を拡張 jp.digitalmuseum.utils.MixedDataReader

public class MixedDataReader
extends java.lang.Object
Class for reading InputStream which contains mixed data of binary and text.
コンストラクタの概要
MixedDataReader(java.io.InputStream is)
           
MixedDataReader(java.io.InputStream is, java.nio.charset.Charset charset)
           
MixedDataReader(java.io.InputStream is, java.lang.String charsetName)
           
 
メソッドの概要
 void close()
           
 int read(byte[] b)
           
 java.lang.String readLine()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
コンストラクタの詳細

MixedDataReader

public MixedDataReader(java.io.InputStream is)

MixedDataReader

public MixedDataReader(java.io.InputStream is,
                       java.lang.String charsetName)

MixedDataReader

public MixedDataReader(java.io.InputStream is,
                       java.nio.charset.Charset charset)
メソッドの詳細

read

public int read(byte[] b)
         throws java.io.IOException
例外:
java.io.IOException

readLine

public java.lang.String readLine()
                          throws java.io.IOException
例外:
java.io.IOException

close

public void close()
           throws java.io.IOException
例外:
java.io.IOException


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/