Package com.twineworks.tweakflow.util
Class InOut
java.lang.Object
com.twineworks.tweakflow.util.InOut
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringreadResourceAsString(String location, Charset charset) static StringreadResourceAsString(String location, Charset charset, ClassLoader classLoader) static booleanresourceExists(String location) static booleanresourceExists(String location, ClassLoader classLoader)
-
Field Details
-
KiB
public static final int KiB- See Also:
-
MiB
public static final int MiB- See Also:
-
GiB
public static final int GiB- See Also:
-
-
Constructor Details
-
InOut
public InOut()
-
-
Method Details
-
readResourceAsString
public static String readResourceAsString(String location, Charset charset, ClassLoader classLoader) throws IOException - Throws:
IOException
-
resourceExists
-
resourceExists
-
readResourceAsString
- Throws:
IOException
-