org.apache.maven.wagon.providers.webdav
Class PutInputStream
java.lang.Object
java.io.InputStream
java.io.FileInputStream
org.apache.maven.wagon.providers.webdav.PutInputStream
- public class PutInputStream
- extends FileInputStream
Put Input Stream is borrowed from wagon-http, and is used to properly
notify the listeners of transfer events on a put request.
- Author:
- Joakim Erdfelt
|
Constructor Summary |
PutInputStream(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[] buffer)
|
int |
read(byte[] buffer,
int offset,
int length)
|
PutInputStream
public PutInputStream(File file,
org.apache.maven.wagon.resource.Resource resource,
org.apache.maven.wagon.Wagon wagon,
org.apache.maven.wagon.events.TransferEventSupport eventSupport)
throws FileNotFoundException
read
public int read(byte[] buffer)
throws IOException
- Throws:
IOException
read
public int read()
throws IOException
- Throws:
IOException
read
public int read(byte[] buffer,
int offset,
int length)
throws IOException
- Throws:
IOException
Copyright © 2003-2006 Apache Software Foundation. All Rights Reserved.