|
Oxygen XML Editor, Version 14.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@API(type=EXTENDABLE,
src=PUBLIC)
public interface URLHandlerReadOnlyCheckerExtensionThis interface can be called to decide if an URL is read-only or not.
| Method Summary | |
|---|---|
boolean |
canCheckReadOnly(java.lang.String protocol)
Returns true if the implementor should be asked about the read-only status for URL's of a certain protocol. |
boolean |
isReadOnly(java.net.URL url)
Decide if a given URL is read-only or writable to. |
| Method Detail |
|---|
boolean isReadOnly(java.net.URL url)
url - The URL for which the implementor will decide if it is read-only or not.
boolean canCheckReadOnly(java.lang.String protocol)
protocol - The URL protocol (like "http" or "file")
true if the implementor should be asked about the read-only status for URL's of a certain protocol.
For example if you want to decide if "http" URLs are read-only or not you should return true if the protocol is "http"
Then, the other callback will be called and you will be able to decide the read-only status for the URL.
|
Oxygen XML Editor, Version 14.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||