public class RelativeURLRepository extends URLRepository
Constructor and Description |
---|
RelativeURLRepository() |
RelativeURLRepository(java.net.URL baseUrl)
Deprecated.
Since 2.5. Use
RelativeURLRepository(URL, TimeoutConstraint) instead |
RelativeURLRepository(java.net.URL baseUrl,
TimeoutConstraint timeoutConstraint) |
Modifier and Type | Method and Description |
---|---|
Resource |
getResource(java.lang.String source)
Return the resource associated with a specified identifier.
|
get, list, put
addTransferListener, fireTransferCompleted, fireTransferCompleted, fireTransferError, fireTransferError, fireTransferEvent, fireTransferInitiated, fireTransferProgress, fireTransferStarted, fireTransferStarted, getFileSeparator, getName, getTimeoutConstraint, hasTransferListener, put, removeTransferListener, setName, standardize, toString
public RelativeURLRepository()
@Deprecated public RelativeURLRepository(java.net.URL baseUrl)
RelativeURLRepository(URL, TimeoutConstraint)
insteadbaseUrl
- dittopublic RelativeURLRepository(java.net.URL baseUrl, TimeoutConstraint timeoutConstraint)
public Resource getResource(java.lang.String source) throws java.io.IOException
Repository
getResource
in interface Repository
getResource
in class URLRepository
source
- A string identifying the resource.java.io.IOException
- On error while trying to get resource.Copyright ©2007-2022 The Apache Software Foundation, Licensed under Apache License, Version 2.0.