Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for FileInputStream (0.07 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

     */
    public class TemporaryFileInputStream extends InputStream {
    
        private final File tempFile;
    
        private final FileInputStream fileInputStream;
    
        /**
         * A class that provides an input stream for reading from a temporary file.
         * This class wraps a {@link FileInputStream} to read from the specified temporary file.
         *
         * @param tempFile the temporary file to be read
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/InputStreamUtil.java

        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link FileInputStream}.
         *
         * @param file the file (must not be {@literal null})
         * @return a {@link FileInputStream} to read from the file
         * @see FileInputStream#FileInputStream(File)
         */
        public static FileInputStream create(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/curl/io/ContentCache.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl.io;
    
    import java.io.ByteArrayInputStream;
    import java.io.Closeable;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.util.logging.Logger;
    
    /**
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

            File tempFile = ResponseDataUtil.createResponseBodyFile(responseData);
    
            assertNotNull(tempFile);
            assertTrue(tempFile.exists());
    
            // Read and verify content
            try (FileInputStream fis = new FileInputStream(tempFile)) {
                byte[] buffer = new byte[1024];
                int bytesRead = fis.read(buffer);
                String content = new String(buffer, 0, bytesRead);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.extractor.impl;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import org.codelibs.core.exception.IORuntimeException;
    import org.codelibs.core.io.FileUtil;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/SingletonContext.java

            try {
                final String filename = System.getProperty("jcifs.properties");
                if (filename != null && filename.length() > 1) {
    
                    try (FileInputStream in = new FileInputStream(filename)) {
                        p.load(in);
                    }
                }
    
            } catch (final IOException ioe) {
                log.error("Failed to load config", ioe); //$NON-NLS-1$
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/OsddHelper.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.helper;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.Constants;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/opensearch/extension/analysis/NumberConcatenationFilterFactory.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.opensearch.extension.analysis;
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.Reader;
    import java.nio.charset.StandardCharsets;
    
    import org.apache.lucene.analysis.CharArraySet;
    import org.apache.lucene.analysis.TokenStream;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun May 18 02:59:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

        private final Map<String, T> classes = new TreeMap<>();
    
        @SuppressWarnings("unchecked")
        public void load(File repoFile) {
            try {
                FileInputStream inputStream = new FileInputStream(repoFile);
                try {
                    ObjectInputStream objInputStream = new ObjectInputStream(new BufferedInputStream(inputStream));
                    classes.clear();
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            String url = DEFAULT_DOWNLOAD_URL;
            if(mavenWrapperPropertyFile.exists()) {
                FileInputStream mavenWrapperPropertyFileInputStream = null;
                try {
                    mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
                    Properties mavenWrapperProperties = new Properties();
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
Back to top