Class FileContent


  • public class FileContent
    extends java.lang.Object
    Read file content from classpath The point is in lazy loading: the content is loaded only on the first usage, and only once.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileContent​(java.lang.String filePath)  
    • Method Summary

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

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

      • FileContent

        public FileContent​(java.lang.String filePath)
    • Method Detail

      • content

        public java.lang.String content()