Class ResourceAsText

  • All Implemented Interfaces:
    Parsable<java.lang.String>

    public class ResourceAsText
    extends java.lang.Object
    implements Parsable<java.lang.String>
    Wrapper for resource that may read that resource as String with defined charset.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get()  
      java.lang.String text()  
      • Methods inherited from class java.lang.Object

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

      • text

        public java.lang.String text()
        Returns:
        content of resource as String
      • get

        public java.lang.String get()
        Specified by:
        get in interface Parsable<java.lang.String>
        Returns:
        content of resource as String