- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 182 for UTF_8 (0.02 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
* @throws RuntimeException If failed (and not due source not exists). */ @Nonnull default Optional<String> getString(@Nonnull URI relativeSource) { return getString(relativeSource, StandardCharsets.UTF_8); } /** * PUTs the source file (must exist as file) to target URI. The target MUST BE relative from the * {@link RemoteRepository#getUrl()} root. *
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 4.4K bytes - Click Count (0) -
build-tools-internal/src/integTest/java/org/elasticsearch/gradle/internal/BuildPluginIT.java
assertEquals("this is a test license file", IOUtils.toString(license, StandardCharsets.UTF_8.name())); assertEquals("this is a test notice file", IOUtils.toString(notice, StandardCharsets.UTF_8.name())); } } }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.7K bytes - Click Count (0) -
build-logic/buildquality/src/main/kotlin/gradlebuild/incubation/action/IncubatingApiReportWorkAction.kt
val htmlReport = parameters.htmlReportFile.get().asFile val title = parameters.title.get() htmlReport.parentFile.mkdirs() htmlReport.printWriter(Charsets.UTF_8).use { writer -> writer.println( """<html lang="en"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Incubating APIs for $title</title>
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jun 02 09:57:54 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
final Path file = tempDir.resolve("example.com/page.html"); assertTrue(Files.exists(file)); try { final String html = Files.readString(file, StandardCharsets.UTF_8); assertFalse(html.contains("fess:cache")); assertTrue(html.contains("fess:host")); } catch (final IOException e) { fail("Failed to read exported file: " + e.getMessage());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
void shouldReturnUnicodeWhenTerminalSupportsUtf8() { Terminal mockTerminal = mock(Terminal.class); when(mockTerminal.encoding()).thenReturn(StandardCharsets.UTF_8); assertEquals("✓", ConsoleIcon.SUCCESS.getIcon(mockTerminal)); assertEquals("✗", ConsoleIcon.ERROR.getIcon(mockTerminal)); assertEquals("⚠", ConsoleIcon.WARNING.getIcon(mockTerminal));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
} catch (IOException e) { throw new IORuntimeException(e); } } else if (url.contains("plugin/repo2")) { try (InputStream is = ResourceUtil.getResourceAsStream(url)) { return new String(InputStreamUtil.getBytes(is), Constants.UTF_8); } catch (IOException e) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 22.6K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
if (reloadableFile == null) { throw new IllegalArgumentException("reloadableFile is null."); } return new InputStreamReader(new FileInputStream(reloadableFile), StandardCharsets.UTF_8); } Reader reader = null; if (settings.getAsList("synonyms", null) != null) { final List<String> rules = Analysis.parseWordList(env, settings, "synonyms", s -> s);
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun May 18 02:59:16 GMT 2025 - 6.7K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
mockConfig = mock(Configuration.class); // Define behavior for the OEM encoding, which is used by writeString when(mockConfig.getOemEncoding()).thenReturn(StandardCharsets.UTF_8.name()); } @Test void testConstructor() { // Test that the constructor correctly sets the command and path String directoryName = "testDir";
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Oct 14 12:35:44 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
FileUtil.write( file1.getAbsolutePath(), "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3" .getBytes(Constants.UTF_8)); } @Override protected void tearDown(TestInfo testInfo) throws Exception { file1.delete(); } */ @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 7.4K bytes - Click Count (0)