|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.krysalis.barcode4j.tools.URLUtil
public class URLUtil
Utility functions for handling URLs.
| Constructor Summary | |
|---|---|
URLUtil()
|
|
| Method Summary | |
|---|---|
static byte[] |
getData(java.lang.String url,
java.lang.String encoding)
Returns the data pointed at by a URL as a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLUtil()
| Method Detail |
|---|
public static byte[] getData(java.lang.String url,
java.lang.String encoding)
throws java.io.IOException
url - the URLencoding - the encoding to use for converting text content to binary content
java.io.IOException - if an I/O error occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||