Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.component
Interface NewFileValidator

All Known Implementing Classes:
FileBuilderModel

public interface NewFileValidator

A NewFileValidator instance can be used to validate the URL generated by the NewFilePanel.

Since:
9.0.3

Method Summary
 java.net.URL validateNewFileURL(java.net.URL url)
          Requests that the specified URL be validated.
 

Method Detail

validateNewFileURL

java.net.URL validateNewFileURL(java.net.URL url)
                                throws TraversalException
Requests that the specified 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.

Parameters:
url - the URL to be validated
Returns:
the valid URL.
Throws:
TraversalException - if the URL is not valid.
TraversalException

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.