Class Utils.SourceGetter

Object
SourceGetter
Enclosing class:
Utils

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 Details

    • SourceGetter

      public SourceGetter(Object inputSource)
  • Method Details

    • 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