public class ResourceUtil extends Object
Modifier and Type | Method and Description |
---|---|
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
|
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)Copyright © 2006–2014 Apache Software Foundation. All rights reserved.