Package com.vaadin.pro.licensechecker
Class Util
java.lang.Object
com.vaadin.pro.licensechecker.Util
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longcopyLarge(InputStream input, OutputStream output, byte[] buffer) From commons-io IOUtils.static Stringstatic Stringstatic StringtoString(InputStream in) static StringvalidateURL(String url)
-
Field Details
-
EOF
public static final int EOF- See Also:
-
-
Constructor Details
-
Util
public Util()
-
-
Method Details
-
toString
- Throws:
IOException
-
copyLarge
public static long copyLarge(InputStream input, OutputStream output, byte[] buffer) throws IOException From commons-io IOUtils. Included to avoid external dependencies.- Throws:
IOException
-
getHash
-
removeTrailingSlash
-
validateURL
-