< prev index next >

src/java.base/share/classes/java/lang/System.java

Print this page




2184             public Stream<ModuleLayer> layers(ClassLoader loader) {
2185                 return ModuleLayer.layers(loader);
2186             }
2187 
2188             public String newStringNoRepl(byte[] bytes, Charset cs) throws CharacterCodingException  {
2189                 return StringCoding.newStringNoRepl(bytes, cs);
2190             }
2191 
2192             public byte[] getBytesNoRepl(String s, Charset cs) throws CharacterCodingException {
2193                 return StringCoding.getBytesNoRepl(s, cs);
2194             }
2195 
2196             public String newStringUTF8NoRepl(byte[] bytes, int off, int len) {
2197                 return StringCoding.newStringUTF8NoRepl(bytes, off, len);
2198             }
2199 
2200             public byte[] getBytesUTF8NoRepl(String s) {
2201                 return StringCoding.getBytesUTF8NoRepl(s);
2202             }
2203 



2204         });
2205     }
2206 }


2184             public Stream<ModuleLayer> layers(ClassLoader loader) {
2185                 return ModuleLayer.layers(loader);
2186             }
2187 
2188             public String newStringNoRepl(byte[] bytes, Charset cs) throws CharacterCodingException  {
2189                 return StringCoding.newStringNoRepl(bytes, cs);
2190             }
2191 
2192             public byte[] getBytesNoRepl(String s, Charset cs) throws CharacterCodingException {
2193                 return StringCoding.getBytesNoRepl(s, cs);
2194             }
2195 
2196             public String newStringUTF8NoRepl(byte[] bytes, int off, int len) {
2197                 return StringCoding.newStringUTF8NoRepl(bytes, off, len);
2198             }
2199 
2200             public byte[] getBytesUTF8NoRepl(String s) {
2201                 return StringCoding.getBytesUTF8NoRepl(s);
2202             }
2203 
2204             public void setCause(Throwable t, Throwable cause) {
2205                 t.setCause(cause);
2206             }
2207         });
2208     }
2209 }
< prev index next >