- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for forName (0.05 sec)
-
guava-tests/test/com/google/common/base/CharsetsTest.java
public void testUsAscii() { assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); } public void testUtf8() { assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); } @J2ktIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 2.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
try { val alpnClassName = "org.eclipse.jetty.alpn.ALPN" val alpnClass = Class.forName(alpnClassName, true, null) val providerClass = Class.forName("$alpnClassName\$Provider", true, null) val clientProviderClass = Class.forName("$alpnClassName\$ClientProvider", true, null) val serverProviderClass = Class.forName("$alpnClassName\$ServerProvider", true, null)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
return try { val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket> val sslSocketFactoryClass = Class.forName("$packageName.OpenSSLSocketFactoryImpl") as Class<in SSLSocketFactory> val paramsClass = Class.forName("$packageName.SSLParametersImpl")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/Handler.java
try { Class handlerClass = null; try { handlerClass = Class.forName(className); } catch (Exception ex) { } if (handlerClass == null) { handlerClass = ClassLoader.getSystemClassLoader(
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.1K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
* * https://github.com/junit-team/junit5/issues/2469 */ fun treeListener(): TestExecutionListener { val colorPalette = Class.forName("org.junit.platform.console.tasks.ColorPalette").getField("DEFAULT").apply { isAccessible = true }.get(null) return Class.forName( "org.junit.platform.console.tasks.TreePrintingListener", ).declaredConstructors.first() .apply { isAccessible = true }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
try { switch ( oemEncoding.toLowerCase(Locale.ROOT) ) { case "cp850": str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 240, 255); break; case "windows-1252": str = makeCharsetString(Charset.forName(oemEncoding), 128, 256, 0x81, 0x8D, 0x8F, 0x90, 0x9D); break; default:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
src/main/java/jcifs/util/Strings.java
* */ public final class Strings { private static final Logger log = LoggerFactory.getLogger(Strings.class); private static final Charset UNI_ENCODING = Charset.forName("UTF-16LE"); private static final Charset ASCII_ENCODING = Charset.forName("US-ASCII"); private static final boolean MASK_SECRET_VALUE = System.getProperty("jcifs.maskSecretValue", "true") == "true";
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Mar 13 12:00:57 UTC 2023 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java
File markdownFile = getMarkdownFile().get().getAsFile(); Charset inputEncoding = Charset.forName(getInputEncoding().get()); File destination = getDestinationFile().get().getAsFile(); Charset outputEncoding = Charset.forName(getOutputEncoding().get()); try (InputStreamReader inputStream = new InputStreamReader(new FileInputStream(markdownFile), inputEncoding);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHook.java
shutdownCommonsHttpClient(); } private void shutdownCommonsHttpClient() { // from Tomcat7ConfigServlet (old class) try { final Class<?> clazz = Class.forName("org.apache.commons.httpclient.MultiThreadedHttpConnectionManager"); final Method method = clazz.getMethod("shutdownAll", (Class<?>[]) null); method.invoke(null, (Object[]) null);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/logging/Slf4jConfigurationFactory.java
} } String impl = properties.getProperty(slf4jBinding); if (impl != null) { return (Slf4jConfiguration) Class.forName(impl).newInstance(); } } catch (IOException | ClassNotFoundException | IllegalAccessException | InstantiationException ex) { // ignore and move on to the next
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0)