- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 129 for forName (0.12 sec)
-
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) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
} protected void setupServletFileUpload(final JakartaServletDiskFileUpload upload, final HttpServletRequest request) { upload.setHeaderCharset(Charset.forName(request.getCharacterEncoding())); upload.setSizeMax(getSizeMax()); upload.setFileCountMax(getFileCountMax()); // since commons-fileupload-1.5 } protected long getSizeMax() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Oct 23 13:27:21 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/http/Handler.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/CoreLibConstants.java
* * @author shinsuke * */ public class CoreLibConstants { /** * UTF-8 */ public static final String UTF_8 = "UTF-8"; public static final Charset CHARSET_UTF_8 = Charset.forName(UTF_8); public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ"; public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
String prefix = (useMonitor ? "com.google.common.util.concurrent.MonitorBased" : "java.util.concurrent."); String className = prefix + queueType + "BlockingQueue"; Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/DoubleUtilsTest.java
} private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class); } catch (NoSuchMethodException expectedBeforeJava8) { return Class.forName("sun.misc.FpUtils").getMethod("nextDown", double.class); } } @AndroidIncompatible // TODO(cpovirk): File bug for BigDecimal.doubleValue(). public void testBigToDouble() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 03 18:10:55 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt
@Test fun testCharsetNameIsDoubleQuotedAndSingleQuotedAndroid() { val mediaType = "text/plain;charset=\"'utf-8'\"".toMediaType() if (isAndroid) { // Charset.forName("'utf-8'") == UTF-8 assertEquals("UTF-8", mediaType.charsetName()) } else { assertNull(mediaType.charset()) } } @Test fun testDefaultCharset() { val noCharset = parse("text/plain")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
} @Disabled("Don't run by default") @Tag("Slow") class AllMainsTest { @ParameterizedTest @ArgumentsSource(MainTestProvider::class) fun runMain(className: String) { val mainMethod = Class.forName(className) .methods.find { it.name == "main" } try { if (mainMethod != null) { if (mainMethod.parameters.isEmpty()) { mainMethod.invoke(null) } else {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0)