Package | Description |
---|---|
org.apache.maven.wagon |
Modifier and Type | Method and Description |
---|---|
abstract void |
StreamWagon.fillInputData(InputData inputData) |
protected void |
AbstractWagon.finishPutTransfer(Resource resource,
InputStream input,
OutputStream output) |
void |
Wagon.get(String resourceName,
File destination)
Downloads specified resource from the repository to given file.
|
void |
StreamWagon.get(String resourceName,
File destination) |
List<String> |
Wagon.getFileList(String destinationDirectory)
Returns a
List of strings naming the files and directories in the directory denoted by
this abstract pathname. |
List<String> |
AbstractWagon.getFileList(String destinationDirectory) |
boolean |
Wagon.getIfNewer(String resourceName,
File destination,
long timestamp)
Downloads specified resource from the repository
if it was modified since specified date.
|
boolean |
StreamWagon.getIfNewer(String resourceName,
File destination,
long timestamp) |
boolean |
StreamWagon.getIfNewerToStream(String resourceName,
OutputStream stream,
long timestamp) |
boolean |
StreamingWagon.getIfNewerToStream(String resourceName,
OutputStream stream,
long timestamp)
Downloads specified resource from the repository if it was modified since specified date.
|
protected InputStream |
StreamWagon.getInputStream(Resource resource) |
void |
StreamWagon.getToStream(String resourceName,
OutputStream stream) |
void |
StreamingWagon.getToStream(String resourceName,
OutputStream stream)
Downloads specified resource from the repository to given output stream.
|
void |
Wagon.put(File source,
String destination)
Copy a file from local system to remote
|
void |
StreamWagon.put(File source,
String resourceName) |
void |
Wagon.putDirectory(File sourceDirectory,
String destinationDirectory)
Copy a directory from local system to remote
|
void |
AbstractWagon.putDirectory(File sourceDirectory,
String destinationDirectory) |
static void |
WagonUtils.putDirectory(File dir,
Wagon wagon,
boolean includeBasdir)
Deprecated.
|
protected void |
StreamWagon.putFromStream(InputStream stream,
Resource resource) |
void |
StreamWagon.putFromStream(InputStream stream,
String destination) |
void |
StreamingWagon.putFromStream(InputStream stream,
String destination)
Deprecated.
due to unknown contentLength various http(s) implementation will use a chuncked transfer encoding
mode you must take care you http target server supports that (ngnix don't !).
So in case of http(s) transport layer avoid using this. Will be remove in 3.0
Copy from a local input stream to remote.
|
void |
StreamWagon.putFromStream(InputStream stream,
String destination,
long contentLength,
long lastModified) |
void |
StreamingWagon.putFromStream(InputStream stream,
String destination,
long contentLength,
long lastModified)
Copy from a local input stream to remote.
|
protected void |
AbstractWagon.putTransfer(Resource resource,
File source,
OutputStream output,
boolean closeOutput) |
protected void |
AbstractWagon.putTransfer(Resource resource,
InputStream input,
OutputStream output,
boolean closeOutput) |
static String |
WagonUtils.toString(String resource,
Wagon wagon)
Deprecated.
|
protected void |
AbstractWagon.transfer(Resource resource,
File source,
OutputStream output,
boolean closeOutput)
Write from
File to OutputStream |
Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.