- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for getFiler (0.17 sec)
-
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
String existingContent = ""; // Try to read existing content try { FileObject inputFile = processingEnv.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", path); try (BufferedReader reader = new BufferedReader(new InputStreamReader(inputFile.openInputStream()))) { String line;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 7.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
this.settingsBuilder = settingsBuilder; } @Override public Settings buildSettings() throws IOException, XmlPullParserException { File userSettingsFile = getFile( "${user.home}/.m2/settings.xml", "user.home", MavenSettingsBuilder.ALT_USER_SETTINGS_XML_LOCATION); return buildSettings(userSettingsFile); } @Override
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
cos.write(new byte[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 }); assertFalse(cos.done); assertFalse(cos.isInMemory()); File file = cos.getFile(); assertTrue(cos.done); assertTrue(file.exists()); cos.close(); assertTrue(cos.done); assertTrue(file.exists()); } @Test
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } @Override public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, null); assertNull(info.getFile()); Object mockFile = new Object(); info.setFile(mockFile); assertEquals(mockFile, info.getFile()); } @Test public void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} File file = out.getFile(); assertNull(file); // Write data to go over the threshold if (chunk2 > 0) { if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IOException.class, () -> write(out, data, chunk1, chunk2, singleByte)); return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
} File file = out.getFile(); assertNull(file); // Write data to go over the threshold if (chunk2 > 0) { if (JAVA_IO_TMPDIR.value().equals("/sdcard")) { assertThrows(IOException.class, () -> write(out, data, chunk1, chunk2, singleByte)); return; } write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
assertEquals(getRoot() + "Program File", ResourceUtil.getFileName(url)); url = ResourceUtil.getResource("java/lang/String.class"); assertNull(ResourceUtil.getFile(url)); } private String getRoot() throws IOException { final String root = new File("/").getCanonicalPath().replace('\\', '/'); if (root.startsWith("/")) { return root;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0)