Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 318 for InputStream (0.12 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Objects;
    
    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Sep 18 11:42:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/CopyUtilTest.java

    import static org.hamcrest.CoreMatchers.is;
    import static org.junit.Assert.assertThat;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    import java.io.StringReader;
    import java.io.StringWriter;
    import java.net.URL;
    
    import org.codelibs.core.net.URLUtil;
    import org.junit.Test;
    
    /**
     * @author koichik
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.netbios;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    public class SessionRequestPacket extends SessionServicePacket {
    
        private Name calledName, callingName;
    
        SessionRequestPacket() {
            calledName = new Name();
            callingName = new Name();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.building;
    
    import java.io.IOException;
    import java.io.InputStream;
    
    /**
     * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory).
     *
     */
    public interface Source {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/backup/ApiAdminBackupAction.java

    import java.io.BufferedWriter;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.util.List;
    import java.util.Map;
    import java.util.function.Consumer;
    
    import org.apache.commons.text.StringEscapeUtils;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java

    import java.io.ByteArrayInputStream;
    import java.io.Closeable;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Date;
    import java.util.LinkedHashMap;
    import java.util.LinkedHashSet;
    import java.util.Map;
    import java.util.Set;
    
    import org.codelibs.core.exception.IORuntimeException;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        server.enqueue(builder.build())
        val inputStream = getResponse(newRequest("/")).body.byteStream()
        assertThat(inputStream.markSupported(), "This implementation claims to support mark().")
          .isFalse()
        inputStream.mark(5)
        assertThat(readAscii(inputStream, 5)).isEqualTo("ABCDE")
        assertFailsWith<IOException> {
          inputStream.reset()
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 131.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/CopyUtil.java

        /**
         * 必要があれば入力ストリームを{@link BufferedInputStream}でラップします。
         *
         * @param is
         *            入力ストリーム
         * @return ラップされた入力ストリーム
         */
        protected static InputStream wrap(final InputStream is) {
            if (is instanceof BufferedInputStream) {
                return is;
            }
            if (is instanceof ByteArrayInputStream) {
                return is;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  9. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

     */
    package org.apache.maven.artifact.repository.metadata.io.xpp3;
    
    import javax.xml.stream.XMLStreamException;
    import javax.xml.stream.XMLStreamReader;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    import org.apache.maven.metadata.v4.MetadataStaxReader;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. build-logic/build.gradle.kts

                    "Use the same org.gradle.jvmargs for both builds.")
            }
        }
    }
    
    fun readProperties(propertiesFile: File) = java.util.Properties().apply {
        propertiesFile.inputStream().use { fis -> load(fis) }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jan 24 02:52:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top