Class ReadableTextSource


  • public class ReadableTextSource
    extends java.lang.Object
    読めるテキストソース 先にbytesとして読み込んでおく。このインスタンスでは少なくともIOExceptionは発生しない。
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] bytes()  
      java.lang.String fineName()  
      java.nio.file.Path path()  
      java.io.ByteArrayInputStream toInputStream()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReadableTextSource

        public ReadableTextSource​(TextSource textSource,
                                  byte[] bytes)
    • Method Detail

      • toInputStream

        public java.io.ByteArrayInputStream toInputStream()
      • fineName

        public java.lang.String fineName()
      • path

        public java.nio.file.Path path()
      • bytes

        public byte[] bytes()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object