Class ContentLoader

  • All Implemented Interfaces:
    Loader<java.lang.Object,​java.lang.String>

    public class ContentLoader
    extends AbstractLoader<java.lang.Object,​java.lang.String>
    A Loader that loads the resource by use URL.getContent() if the source is URL, or loads into a String if the source is a File (and assuming UTF-8).
    Author:
    tomyeh
    • Nested Class Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      ContentLoader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String load​(java.lang.Object src)
      Loads the resource.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait