/** * @return The name of the system charset. */ @Nonnull public static String getSystemCharsetName () { return getSystemCharset ().name (); }
/** * Print the matrix to stdout. Line the elements up in columns with a * Fortran-like 'Fw.d' style format. * * @param nWidth * Column width. * @param nFractionDigits * Number of digits after the decimal. */ public void print (@Nonnegative final int nWidth, @Nonnegative final int nFractionDigits) { // ESCA-JAVA0266: print (new PrintWriter (new OutputStreamWriter (System.out, SystemHelper.getSystemCharset ()), true), nWidth, nFractionDigits); }
/** * Print the matrix to stdout. Line the elements up in columns. Use the format * object, and right justify within columns of width characters. Note that is * the matrix is to be read back in, you probably will want to use a * NumberFormat that is set to US Locale. * * @param aFormat * A Formatting object for individual elements. * @param nWidth * Field width for each column. * @see java.text.DecimalFormat#setDecimalFormatSymbols */ public void print (@Nonnull final NumberFormat aFormat, @Nonnegative final int nWidth) { print (new PrintWriter (new OutputStreamWriter (System.out, SystemHelper.getSystemCharset ()), true), aFormat, nWidth); }
/** * Print the matrix to stdout. Line the elements up in columns with a * Fortran-like 'Fw.d' style format. * * @param nWidth * Column width. * @param nFractionDigits * Number of digits after the decimal. */ public void print (@Nonnegative final int nWidth, @Nonnegative final int nFractionDigits) { // ESCA-JAVA0266: print (new PrintWriter (new OutputStreamWriter (System.out, SystemHelper.getSystemCharset ()), true), nWidth, nFractionDigits); }
/** * Print the matrix to stdout. Line the elements up in columns. Use the format * object, and right justify within columns of width characters. Note that is * the matrix is to be read back in, you probably will want to use a * NumberFormat that is set to US Locale. * * @param aFormat * A Formatting object for individual elements. * @param nWidth * Field width for each column. * @see java.text.DecimalFormat#setDecimalFormatSymbols */ public void print (@Nonnull final NumberFormat aFormat, @Nonnegative final int nWidth) { print (new PrintWriter (new OutputStreamWriter (System.out, SystemHelper.getSystemCharset ()), true), aFormat, nWidth); }
Integer.toString (SystemHelper.getNumberOfProcessors ())); aTable.addBodyRow ().addCells (EText.MSG_SYSTEM_CHARSET.getDisplayText (aDisplayLocale), SystemHelper.getSystemCharset ().toString ()); aTable.addBodyRow ().addCells (EText.MSG_SYSTEM_LOCALE.getDisplayText (aDisplayLocale), SystemHelper.getSystemLocale ().toString ());