Package gov.cms.hh.common
Class RuntimeEncoding
java.lang.Object
gov.cms.hh.common.RuntimeEncoding
Runtime encoding resolver for external I/O and logging.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Charsetstatic Charsetstatic voidstatic booleanstatic voidwriteOutput(String text) Encodestextwith the external charset and writes the bytes directly toSystem.out, bypassing any stream-level re-encoding.
-
Method Details
-
initializeRuntimeEncoding
public static void initializeRuntimeEncoding() -
getExternalCharset
-
getResourceCharset
-
writeOutput
Encodestextwith the external charset and writes the bytes directly toSystem.out, bypassing any stream-level re-encoding. Use this instead ofSystem.out.print()for all console output.- Parameters:
text- the string to write
-
isShowLog
public static boolean isShowLog()
-