- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for FileName (0.07 sec)
-
src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java
final int fileType; if (fileName.startsWith("system") && fileName.endsWith(".properties")) { fileType = 1; } else if (fileName.startsWith("gsa") && fileName.endsWith(".xml")) { fileType = 2; } else if (fileName.endsWith(".bulk")) { fileType = 3; } else if (fileName.startsWith("fess") && fileName.endsWith(".json")) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Mon Nov 24 02:07:40 UTC 2025 - 32.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 17.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java
params.put(ExtractData.RESOURCE_NAME_KEY, "filename.txt"); final ExtractData result = filenameExtractor.getText(in, params); assertNotNull(result); assertEquals("filename.txt", result.getContent()); // Verify stream was not consumed assertEquals(testData.length, in.available()); } /** * Test extraction with empty string filename. */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
} /** * Normalizes the filename by replacing special characters. * @param filename The filename to normalize. * @return The normalized filename. */ protected String normalizeFilename(final String filename) { if (StringUtil.isBlank(filename)) { return filename; } final StringBuilder buf = new StringBuilder(filename.length() + 10);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 12:19:14 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java
/** * Extracts the filename from the parameters as the content. * * <p>This extractor is useful when you want to index only the filename or resource name * without processing the actual file content. The input stream is validated but not * read - only the filename from the parameters is used as the extracted content.</p> * * <p>The filename is retrieved from the {@link ExtractData#RESOURCE_NAME_KEY} parameter.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
/** * Creates an artifact instance from a filename. * * @param artifactType the type of the artifact * @param filename the filename to parse * @return an artifact instance */ protected Artifact getArtifactFromFileName(final ArtifactType artifactType, final String filename) { return getArtifactFromFileName(artifactType, filename, null); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 24.9K bytes - Viewed (0) -
tests/test_datastructures.py
def create_upload_file(file: UploadFile): testing_file_store.append(file) return {"filename": file.filename} client = TestClient(app) with path.open("rb") as file: response = client.post("/uploadfile/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"filename": "test.txt"} assert testing_file_store assert testing_file_store[0].file.closed
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 1.8K bytes - Viewed (0) -
docs_src/request_files/tutorial001_py39.py
@app.post("/files/") async def create_file(file: bytes = File()): return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: UploadFile):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 282 bytes - Viewed (0) -
docs_src/request_files/tutorial001_03_py39.py
return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file( file: UploadFile = File(description="A file read as UploadFile"), ):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 371 bytes - Viewed (0)