Package com.carrotsearch.licensing
Class LicenseLocation
- java.lang.Object
-
- com.carrotsearch.licensing.LicenseLocation
-
public abstract class LicenseLocation extends Object
A source of license content with a human-friendly location description.
-
-
Constructor Summary
Constructors Constructor Description LicenseLocation(String location)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetLocation()abstract InputStreamopen()StringtoString()
-
-
-
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.
-
-