public interface NewFileValidator
NewFileValidator instance can be used to validate the URL generated by the NewFilePanel.| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
validateNewFileURL(java.net.URL url)
Requests that the specified
URL be validated. |
java.net.URL validateNewFileURL(java.net.URL url)
throws TraversalException
URL be validated. If necessary, a different URL can be returned, if the specified URL should be mapped to some other resource. If the URL is not valid, and cannot be made valid, then a TraversalException should be thrown containing the reason why the URL is not valid.url - the URL to be validatedTraversalException - if the URL is not valid.TraversalException