Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for setContent (0.1 sec)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

            return location;
        }
    
        /**
         * Gets the content of this source.
         *
         * @return The underlying character stream, never {@code null}.
         */
        public String getContent() {
            return content;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

        }
    
        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("テスト"));
            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)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java

        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/zip/test.zip");
            final String content = zipExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            assertTrue(content.contains("テキスト"));
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                                map.put(ExtractData.RESOURCE_NAME_KEY, filename);
                                buf.append(extractor.getText(new IgnoreCloseInputStream(is), map).getContent());
                                buf.append('\n');
                            } catch (final Exception e) {
                                if (logger.isDebugEnabled()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractorTest.java

        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.xls");
            final String content = msExcelExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractorTest.java

        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.ppt");
            final String content = msPowerPointExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/ntlmssp/Type2Message.java

         * Sets the local security context. This is used by the client
         * to negotiate local authentication.
         *
         * @param context
         *            The local security context.
         */
        public void setContext ( byte[] context ) {
            this.context = context;
        }
    
    
        @Override
        public byte[] toByteArray () throws IOException {
            int size = 48;
            int flags = getFlags();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlResponse.java

        @Override
        public void close() throws IOException {
            if (contentCache != null) {
                contentCache.close();
            }
        }
    
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/MsWordExtractorTest.java

        }
    
        public void test_getText() {
            final InputStream in = ResourceUtil.getResourceAsStream("extractor/msoffice/test.doc");
            final String content = msWordExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        }
    
    
        @Override
        public Object getContent () throws IOException {
            handshake();
            return this.connection.getContent();
        }
    
    
        @Override
        public Object getContent ( Class[] classes ) throws IOException {
            handshake();
            return this.connection.getContent(classes);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 25.5K bytes
    - Viewed (0)
Back to top