|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eurotech.framework.core.util.IOUtil
public class IOUtil
| Constructor Summary | |
|---|---|
IOUtil()
|
|
| Method Summary | |
|---|---|
static String |
readResource(org.osgi.framework.BundleContext ctx,
String resourceName)
Reads a resource fully and returns it as a string. |
static String |
readResource(org.osgi.framework.Bundle bundle,
String resourceName)
Reads a resource fully and returns it as a string. |
static String |
readResource(String resourceName)
Reads a resource fully and returns it as a string. |
static String |
readResource(URL resourceUrl)
Reads a resource fully and returns it as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IOUtil()
| Method Detail |
|---|
public static String readResource(String resourceName)
throws IOException
ctx - resourceName -
IOException
public static String readResource(org.osgi.framework.BundleContext ctx,
String resourceName)
throws IOException
ctx - resourceName -
IOException
public static String readResource(org.osgi.framework.Bundle bundle,
String resourceName)
throws IOException
ctx - resourceName -
IOException
public static String readResource(URL resourceUrl)
throws IOException
ctx - resourceName -
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||