Package org.omegat.externalfinder.item
Class ExternalFinderItemURL.Builder
java.lang.Object
org.omegat.externalfinder.item.ExternalFinderItemURL.Builder
- Enclosing class:
- ExternalFinderItemURL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()from(ExternalFinderItemURL item) getURL()setEncoding(ExternalFinderItem.ENCODING encoding) setTarget(ExternalFinderItem.TARGET target) validate()Check the current builder parameters to see if they constitute a valid URL.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
from
-
setURL
-
getURL
-
setTarget
-
getTarget
-
setEncoding
-
getEncoding
-
build
-
validate
Check the current builder parameters to see if they constitute a valid URL.- Returns:
- A sample URL illustrating what the output will look like
- Throws:
ExternalFinderValidationException- If any parameter is not valid
-
generateSampleURL
-