- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 2,174 for _file (2.23 sec)
-
src/test/java/jcifs/util/PathValidatorTest.java
String url = "smb://server/share/folder/file.txt"; String normalized = validator.validateSmbUrl(url); assertTrue(normalized.startsWith("smb://")); assertTrue(normalized.contains("server")); assertTrue(normalized.contains("/share/folder/file.txt") || normalized.contains("\\share\\folder\\file.txt")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
static final int O_EXCL = 0x0020; // truncate if the file exists static final int O_TRUNC = 0x0040; // share access /** * When specified as the {@code shareAccess} constructor parameter, * other SMB clients (including other threads making calls into jCIFS) * will not be permitted to access the target file and will receive "The * file is being accessed by another process" message.Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
*/ package org.codelibs.fess.app.web.admin.log; import java.io.IOException; import java.io.InputStream; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Base64; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Stream;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java
} } public void test_responseBodyFile() throws IOException { // Test response body with file ResponseData data = new ResponseData(); File tempFile = File.createTempFile("test", ".txt"); try { String content = "File content"; Files.write(tempFile.toPath(), content.getBytes(StandardCharsets.UTF_8));Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
} finally { if (dfos != null && !dfos.isInMemory()) { final File file = dfos.getFile(); try { Files.delete(file.toPath()); } catch (final IOException e) { logger.warn("Failed to delete {}.", file.getAbsolutePath(), e); } } } } /**Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
* @param basePath the base path to prepend to JAR file names */ protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) { final File[] jarFiles = libDir.listFiles((FilenameFilter) (dir, name) -> name.toLowerCase().endsWith(".jar")); if (jarFiles != null) { for (final File file : jarFiles) { buf.append(cpSeparator);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 14.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
} /** * Sets the output file extension. * @param outputExtension The output file extension to set. */ public void setOutputExtension(final String outputExtension) { this.outputExtension = outputExtension; } /** * Sets the temporary directory for file operations. * @param tempDir The temporary directory to set. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 16.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java
} /** * Creates a temporary file. * @param prefix The prefix string to be used in generating the file's name. * @param suffix The suffix string to be used in generating the file's name. * @param directory The directory in which the file is to be created, or null if the default temporary-file directory is to be used. * @return The created temporary file. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java
for (SmbFile file : files) { try { entry.updateChild(file.getName(), file.length(), file.lastModified(), file.isDirectory(), file.getAttributes(), file.createTime(), file.lastAccess()); } catch (Exception e) { log.debug("Error updating cache entry for {}: {}", file.getName(), e.getMessage()); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java
body.dictId = dictId; validateApi(body, messages -> {}); return protwordsService.getProtwordsFile(body.dictId) .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> { file.writeOut(out); })) .orElseGet(() -> {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.4K bytes - Viewed (0)