Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for lzh (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

            ;
    
            lhaExtractor = container.getComponent("lhaExtractor");
    
        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/lha/test.lzh");
            final String content = lhaExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("ใƒ†ใ‚นใƒˆ"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImplTest.java

            assertContentType("application/zip", "extractor/zip/test.zip", "hoge.zip");
            assertContentType("application/x-lharc", "extractor/lha/test.lzh", "hoge.lzh"); // TODO is it correct?
    
            assertContentType("application/xml", "extractor/test.mm", "hoge.mm");
    
            assertContentType("message/rfc822", "extractor/eml/sample1.eml", "sample1.eml");
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

            final StringBuilder buf = new StringBuilder(1000);
    
            File tempFile = null;
            LhaFile lhaFile = null;
            try {
                tempFile = File.createTempFile("crawler-", ".lzh");
                try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                    CopyUtil.copy(in, fos);
                }
    
                lhaFile = new LhaFile(tempFile);
                @SuppressWarnings("unchecked")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top