Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 318 for inputStream (0.13 sec)

  1. src/test/java/jcifs/tests/ConcurrencyTest.java

                  SmbResource exclFile = new SmbFile(sr, fname) ) {
    
                exclFile.createNewFile();
                try {
                    try ( InputStream is = exclFile.openInputStream(SmbConstants.FILE_NO_SHARE);
                          InputStream is2 = exclFile.openInputStream(SmbConstants.FILE_NO_SHARE) ) {
                        fail("No sharing violation");
                    }
                    catch ( SmbException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/DictionaryFile.java

            try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this);
                    final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) {
                out.write(inputStream);
            }
        }
    
        public abstract String getType();
    
        public abstract PagingList<T> selectList(int offset, int size);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

        private static final Logger logger = LoggerFactory.getLogger(SitemapsHelper.class);
    
        protected int preloadSize = 512;
    
        public boolean isValid(final InputStream in) {
            return isValid(in, true);
        }
    
        protected boolean isValid(final InputStream in, final boolean recursive) {
            final BufferedInputStream bis = new BufferedInputStream(in);
            bis.mark(preloadSize);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.InputStream;
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.io.ResourceUtil;
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            verifyToken(() -> uploadpage(form.dictId));
            return stopwordsService.getStopwordsFile(form.dictId).map(file -> {
                try (InputStream inputStream = form.stopwordsFile.getInputStream()) {
                    file.update(inputStream);
                } catch (final IOException e) {
                    logger.warn("Failed to process a request.", e);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MimeTypeHelper.java

     */
    package org.codelibs.fess.crawler.helper;
    
    import java.io.InputStream;
    import java.util.Map;
    
    /**
     * @author shinsuke
     *
     */
    public interface MimeTypeHelper {
        String getContentType(InputStream is, String filename);
    
        String getContentType(InputStream is, Map<String, String> params);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 914 bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/SitemapsRule.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.rule.impl;
    
    import java.io.InputStream;
    
    import org.codelibs.fess.crawler.entity.ResponseData;
    import org.codelibs.fess.crawler.exception.CrawlingAccessException;
    import org.codelibs.fess.crawler.helper.SitemapsHelper;
    import org.slf4j.Logger;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                return false;
            }
            return true;
        }
    
        protected String loadCharset(final InputStream inputStream) {
            BufferedInputStream bis = null;
            String encoding = null;
            try {
                bis = new BufferedInputStream(inputStream);
                final byte[] buffer = new byte[preloadSizeForCharset];
                final int size = bis.read(buffer);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.ByteArrayInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    
    /**
     * Wraps an ordinary {@link CharSequence} as a source.
     *
     */
    public class StringSource implements Source {
        private final String content;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

    import javax.inject.Named;
    import javax.xml.stream.XMLInputFactory;
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    
    /**
     * @deprecated use {@link org.apache.maven.api.services.model.RootLocator} instead
     */
    @Named
    @Deprecated(since = "4.0.0")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top