- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for contentSize (0.06 sec)
-
src/main/java/org/codelibs/fess/util/DocList.java
* @param contentSize the content size to add in bytes */ public void addContentSize(final long contentSize) { this.contentSize += contentSize; } /** * Gets the total processing time for all documents in this list. * * @return the total processing time in milliseconds */ public long getProcessingTime() { return processingTime; } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
long contentSize = 0; while (entries.hasMoreElements()) { final LhaHeader head = entries.nextElement(); contentSize += head.getOriginalSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java
ZipArchiveEntry entry = null; long contentSize = 0; while ((entry = (ZipArchiveEntry) ais.getNextEntry()) != null) { contentSize += entry.getSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/DocListTest.java
} public void test_toString_empty() { DocList docList = new DocList(); String result = docList.toString(); assertTrue(result.contains("contentSize=0")); assertTrue(result.contains("processingTime=0")); assertTrue(result.contains("elementData=[]")); } public void test_toString_with_data() { DocList docList = new DocList();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 6.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TarExtractor.java
TarArchiveEntry entry = null; long contentSize = 0; while ((entry = (TarArchiveEntry) ais.getNextEntry()) != null) { contentSize += entry.getSize(); if (maxContentSize != -1 && contentSize > maxContentSize) { throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize); }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
final String content = "TEST"; final File contentFile = createContentFile(".txt", content.getBytes()); final CommandExtractor extractor = new CommandExtractor(); extractor.command = getCommand(scriptFile); final Map<String, String> params = new HashMap<String, String>(); final ExtractData text = extractor.getText(new FileInputStream(contentFile), params); assertEquals(content, text.getContent());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.8K bytes - Viewed (0)