|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.wagon.AbstractWagon
org.apache.maven.wagon.StreamWagon
org.apache.maven.wagon.shared.http.AbstractHttpClientWagon
org.apache.maven.wagon.providers.http.HttpWagon
public class HttpWagon
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.wagon.shared.http.AbstractHttpClientWagon |
|---|
clientConnectionManager, connectionManagerPooled, GMT_TIME_ZONE, IGNORE_SSL_VALIDITY_DATES, SC_NULL, sslAllowAll, sslEasy, useClientManagerPooled |
| Fields inherited from class org.apache.maven.wagon.AbstractWagon |
|---|
authenticationInfo, DEFAULT_BUFFER_SIZE, interactive, proxyInfo, repository, sessionEventSupport, transferEventSupport |
| Fields inherited from interface org.apache.maven.wagon.Wagon |
|---|
ROLE |
| Constructor Summary | |
|---|---|
HttpWagon()
|
|
| Method Summary | |
|---|---|
List<String> |
getFileList(String destinationDirectory)
Returns a List of strings naming the files and directories in the directory denoted by
this abstract pathname. |
| Methods inherited from class org.apache.maven.wagon.shared.http.AbstractHttpClientWagon |
|---|
cleanupGetTransfer, closeConnection, execute, fillInputData, fillOutputData, getConnectionManager, getHttpConfiguration, getHttpHeaders, getURL, getUserAgent, mkdirs, openConnectionInternal, put, putFromStream, putFromStream, putFromStream, resourceExists, setConnectionManagerPooled, setHeaders, setHttpConfiguration, setHttpHeaders, setParameters, setUseClientManagerPooled |
| Methods inherited from class org.apache.maven.wagon.StreamWagon |
|---|
checkInputStream, checkOutputStream, get, getIfNewer, getIfNewerToStream, getInputStream, getOutputStream, getToStream |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.wagon.Wagon |
|---|
addSessionListener, addTransferListener, connect, connect, connect, connect, connect, connect, disconnect, getRepository, getTimeout, hasSessionListener, hasTransferListener, isInteractive, openConnection, putDirectory, removeSessionListener, removeTransferListener, setInteractive, setTimeout, supportsDirectoryCopy |
| Constructor Detail |
|---|
public HttpWagon()
| Method Detail |
|---|
public List<String> getFileList(String destinationDirectory)
throws TransferFailedException,
ResourceDoesNotExistException,
AuthorizationException
WagonList of strings naming the files and directories in the directory denoted by
this abstract pathname.
If this abstract pathname does not denote a directory, or does not exist, then this method throws
ResourceDoesNotExistException.
Otherwise a List of strings is returned, one for each file or directory in the directory.
Names denoting the directory itself and the directory's parent directory are not included in
the result. Each string is a file name rather than a complete path.
There is no guarantee that the name strings in the resulting list will appear in any specific
order; they are not, in particular, guaranteed to appear in alphabetical order.
getFileList in interface WagongetFileList in class AbstractWagondestinationDirectory - directory to list contents of
List of strings naming the files and directories in the directory denoted by
this abstract pathname. The List will be empty if the directory is empty.
TransferFailedException - if there's an error trying to access the remote side
ResourceDoesNotExistException - if destinationDirectory does not exist or is not a directory
AuthorizationException - if not authorized to list the contents of the directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||