- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,341 for file2 (0.02 sec)
-
src/test/java/org/codelibs/core/io/ResourceUtilTest.java
/** * @throws Exception */ public void testGetBuildDir() throws Exception { final File file = ResourceUtil.getBuildDir(getClass()); System.out.println(file); final File file2 = ResourceUtil.getBuildDir("org/codelibs/core/io"); assertEquals(file, file2); final File junitJar = ResourceUtil.getBuildDir(TestCase.class); assertTrue(junitJar.exists());
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/file.js
c.imageRatioNotAccepted;return!1},a.formUtils.addAsyncValidator({name:"dimension",validatorFunction:function(b,d,e,g,h){if(c){var i=e.get(0).files||[],j=this;e.attr("data-validation").indexOf("mime")===-1?(alert("You should validate file type being jpg, gif or png on input "+e[0].name),b(!1)):i.length>1?(alert("Validating image dimensions does not support inputs allowing multiple files"),b(!1)):0===i.length?b(!0):f(i[0],function(c){var d=!1;e.valAttr("dimension")&&(d=a.formUtils.checkImageDimension(c,e.valAttr...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File dir2 = newFile("dir-1/dir-2"); assertThat(Files.fileTraverser().breadthFirst(rootDir)) .containsExactly(rootDir, fileA, fileB, dir1, dir2); } @CanIgnoreReturnValue private File newDir(String name) { File file = new File(rootDir, name); file.mkdir(); return file; } @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8)); } @Override public void tearDown() throws Exception { super.tearDown(); FileUtils.deleteDirectory(testDir); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
* This method checks for concurrent modifications by comparing timestamps * and uploads the file content to the ConfigSync API. * * @param dictFile the dictionary file metadata to store * @param file the actual file containing the dictionary content * @throws DictionaryException if the file was updated by another process,
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.ds; import java.io.File; import java.io.InputStream; import java.nio.file.FileSystem; import java.nio.file.FileSystems; import java.nio.file.Files; import java.nio.file.Path; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymCreator.java
} /** * Creates a new {@link SynonymFile} instance. * * @param id The unique identifier for the dictionary file. * @param path The file path of the dictionary. * @param timestamp The last modified timestamp of the file. * @return A new {@link SynonymFile} associated with the dictionary manager. */ @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
try { super.close(); } finally { if (!isInMemory() && !done) { final File file = super.getFile(); if (file != null) { try { Files.deleteIfExists(file.toPath()); } catch (final IOException e) { logger.warning(e.getLocalizedMessage()); }
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/IOIntegrationTest.java
req.threshold(0); // always create tmp file // ## Act ## long before = countTmpFiles(); logger.info("Before request. Number of temp files: " + before); req.execute(res -> { logger.info("Processing request. Number of temp files: " + countTmpFiles()); }, e -> {}); long after = countTmpFiles();
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
* * @param file the file containing the content */ public ContentCache(final File file) { this.data = null; this.file = file; } @Override public void close() throws IOException { if (file != null) { Files.delete(file.toPath()); } } /** * Returns an InputStream to read the content from the cache.
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 3.8K bytes - Viewed (0)