Class MaisDocRemoteClass
java.lang.Object
org.x4o.maisdoc.model.MaisDocRemoteClass
ApiDocRemoteUrl defines the javadoc package-list remote url.
- Version:
- 1.0 Aug 15, 2013
- Author:
- Willem Cazander
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMaisDocRemoteClass
(String docUrl) Creates the ApiDocRemoteClass with a javadoc url to fetch the package-list from.MaisDocRemoteClass
(String docUrl, String packageListUrl) Creates the ApiDocRemoteClass with a javadoc url. -
Method Summary
Modifier and TypeMethodDescriptiongetRemoteUrl
(Class<?> cls) Returns remote url for a class or null if no remote package excists for the class.void
Fetches and parses the package-list file.void
void
setPackageListUrl
(String packageListUrl)
-
Field Details
-
REMOTE_FILE
- See Also:
-
-
Constructor Details
-
MaisDocRemoteClass
Creates the ApiDocRemoteClass with a javadoc url to fetch the package-list from.- Parameters:
docUrl
- The remote javadoc base url.
-
MaisDocRemoteClass
-
-
Method Details
-
getRemoteUrl
-
parseRemotePackageList
Fetches and parses the package-list file.- Throws:
IOException
- If error happend.
-
getDocUrl
- Returns:
- the docUrl
-
setDocUrl
- Parameters:
docUrl
- the docUrl to set
-
getPackageListUrl
- Returns:
- the packageListUrl
-
setPackageListUrl
- Parameters:
packageListUrl
- the packageListUrl to set
-
getPackageList
-