Class LicenseLocation


  • public abstract class LicenseLocation
    extends Object
    A source of license content with a human-friendly location description.
    • Constructor Detail

      • LicenseLocation

        public LicenseLocation​(String location)
    • Method Detail

      • getLocation

        public final String getLocation()
        Returns:
        Return the human-friendly location of this license.
      • open

        public abstract InputStream open()
                                  throws IOException
        Returns:
        Return the stream of bytes for this license.
        Throws:
        IOException - Thrown if the license cannot be open or is otherwise invalid.