Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top