|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.resource.ResourceUtil
public class ResourceUtil
Utilities for resources.
Method Summary | |
---|---|
static String |
readString(IResourceStream resourceStream)
read string with platform default encoding from resource stream |
static String |
readString(IResourceStream resourceStream,
Charset charset)
read string with specified encoding from resource stream |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String readString(IResourceStream resourceStream)
resourceStream
-
readString(org.apache.wicket.util.resource.IResourceStream, java.nio.charset.Charset)
public static String readString(IResourceStream resourceStream, Charset charset)
resourceStream
- string sourcecharset
- charset for the string encoding (use null
for platform default)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |