- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for files (0.19 sec)
-
src/test/java/jcifs/tests/EnumTest.java
try ( SmbFile f = createTestDirectory() ) { try { SmbFile[] files = f.listFiles(new DosFileFilter("*.txt", 0)); assertNotNull(files); assertEquals(0, files.length); files = f.listFiles(); assertNotNull(files); assertEquals(0, files.length); } finally { f.delete(); }
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Thu Jan 05 13:09:03 GMT 2023 - 25.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java
// GET /api/admin/log/files @Execute public JsonResponse<ApiResult> files() { final List<Map<String, Object>> list = getLogFileItems(); return asJson(new ApiResult.ApiLogFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result()); } // GET /api/admin/log/file/{id} @Execute public StreamResponse get$file(final String id) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url)); } /** * @throws Exception */ public void testRelativePath() throws Exception { final File f = new File("/Program Files/foo.jar"); URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/"); url = new URL(url, "..");
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K 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();
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 3.4K 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;
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
if (context == null) { return new File[0]; } final String libPath = context.getRealPath("/WEB-INF/lib"); if (StringUtil.isBlank(libPath)) { return new File[0]; } final File libDir = new File(libPath); if (!libDir.exists()) { return new File[0]; } return libDir.listFiles((file, name) -> name.startsWith(namePrefix)); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java
import java.io.BufferedWriter; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Reader; import java.io.Writer; import java.nio.file.Files; import java.nio.file.Path; import java.util.List; import java.util.stream.Collectors; import javax.annotation.Resource; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger;
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
private final File file; public ContentCache(final byte[] data) { this.data = data; this.file = null; } public ContentCache(final File file) { this.data = null; this.file = file; } @Override public void close() throws IOException { if (file != null) { Files.delete(file.toPath()); } }
Java - Registered: Thu Apr 25 15:34:08 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.6K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java
// GET /api/admin/backup/files @Execute public JsonResponse<ApiResult> files() { final List<Map<String, String>> list = getBackupItems(); return asJson(new ApiBackupFilesResponse().files(list).total(list.size()).status(ApiResult.Status.OK).result()); } // GET /api/admin/backup/file/{id} @Execute public StreamResponse get$file(final String id) {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/zip/ZipFileUtilTest.java
return null; } }); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.zip", ZipFileUtil.toZipFilePath(url)); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0)