Class Utils.SourceGetter

  • Enclosing class:

    public static class Utils.SourceGetter
    extends Object
    Given a source object, allow to retrieve (when possible) the related url, the related file or the original input source object itself.
    • Constructor Detail

      • SourceGetter

        public SourceGetter​(Object inputSource)
    • Method Detail

      • getFile

        public File getFile()
        Return the File (if any) of the source object
      • getUrl

        public URL getUrl()
        Return the URL (if any) of the source object
      • getSource

        public Object getSource()
        Return the original source object