org.apache.maven.wagon.providers.http
Class PutInputStream

java.lang.Object
  extended byjava.io.InputStream
      extended byjava.io.FileInputStream
          extended byorg.apache.maven.wagon.providers.http.PutInputStream

public class PutInputStream
extends java.io.FileInputStream

Version:
$Id: PutInputStream.java 162476 2005-04-19 02:49:45Z brett $
Author:
Michal Maczka

Constructor Summary
PutInputStream(java.io.File file, org.apache.maven.wagon.resource.Resource resource, org.apache.maven.wagon.Wagon wagon, org.apache.maven.wagon.events.TransferEventSupport eventSupport)
           
 
Method Summary
 int read()
           
 int read(byte[] b)
           
 int read(byte[] b, int off, int len)
           
 
Methods inherited from class java.io.FileInputStream
available, close, finalize, getChannel, getFD, skip
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PutInputStream

public PutInputStream(java.io.File file,
                      org.apache.maven.wagon.resource.Resource resource,
                      org.apache.maven.wagon.Wagon wagon,
                      org.apache.maven.wagon.events.TransferEventSupport eventSupport)
               throws java.io.FileNotFoundException
Method Detail

read

public int read(byte[] b)
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException

read

public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.