- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 4,390 for file2 (0.4 sec)
-
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) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
public class KuromojiFileTest extends UnitFessTestCase { private KuromojiFile kuromojiFile; /* // TODO private File file1; @Override protected void setUp() throws Exception { file1 = File.createTempFile("kuromoji_", ".txt"); FileUtil.write( file1.getAbsolutePath(), "token1,seg1,reading1,pos1\ntoken2,seg2,reading2,pos2\ntoken3,seg3,reading3,pos3"
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
*/ protected ClassTraversalUtil() { } /** The file extension for class files. */ protected static final String CLASS_SUFFIX = ".class"; /** The file extension for WAR files. */ protected static final String WAR_FILE_EXTENSION = ".war"; /** The entry prefix for class files inside a WAR file. */ protected static final String WEB_INF_CLASSES_PATH = "WEB-INF/classes/"; /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
if ("file".equals(resource.getProtocol())) { final File directory = new File(resource.getFile()); if (directory.exists() && directory.isDirectory()) { final File[] files = directory.listFiles(File::isDirectory); if (files != null) { for (final File file : files) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
import static org.junit.Assert.fail; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import org.codelibs.curl.Curl; import org.junit.After; import org.junit.Test; /** * Test class for ContentCache. * Tests memory-based and file-based content caching. */ public class ContentCacheTest {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/UploadForm.java
import org.lastaflute.web.validation.Required; /** * Form for uploading stopwords files to the Fess search engine. * Stopwords are common words that should be ignored during search indexing and querying. * This form is used in the admin interface to upload custom stopwords dictionary files. */ public class UploadForm { /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
} catch (org.codelibs.core.exception.ResourceNotFoundRuntimeException e) { // Expected behavior - method throws exception for non-existent files assertTrue(e.getMessage().contains("nonexistent.conf")); } // Test with multiple names - should also throw exception for non-existent files try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java
Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/")); if (Files.isDirectory(filePath)) { filePath = filePath.resolve("index.html"); } if (Files.exists(filePath)) { try (InputStream in = Files.newInputStream(filePath); ServletOutputStream out = response.getOutputStream()) { response.setStatus(HttpServletResponse.SC_OK);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java
/** * Creator for protected words dictionary files. * This class manages the creation and registration of protected words dictionary files. */ public class ProtwordsCreator extends DictionaryCreator { private static final Logger logger = LogManager.getLogger(ProtwordsCreator.class); /** * Constructor for ProtwordsCreator. * Initializes the creator with a pattern to match protwords files. */ public ProtwordsCreator() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2K bytes - Viewed (0)