Extension SDK 10.1.2

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

public 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

Extension SDK

 

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