javacommons/gcfprotocols/file/javasrc/com/nokia/mj/impl/file/FileInternalPermission.java
equal
deleted
inserted
replaced
93 return false; |
93 return false; |
94 } |
94 } |
95 |
95 |
96 public String toString() |
96 public String toString() |
97 { |
97 { |
98 return "javax.microedition.io.FileProtocolPermission"; |
98 if (intent.equals("read")) |
|
99 { |
|
100 return "javax.microedition.io.Connector.file.read"; |
|
101 } |
|
102 |
|
103 if (intent.equals("write")) |
|
104 { |
|
105 return "javax.microedition.io.Connector.file.write"; |
|
106 } |
|
107 |
|
108 return null; |
99 } |
109 } |
100 |
110 |
101 /** |
111 /** |
102 * Returns the question (as localized text) associated with the security |
112 * Returns the question (as localized text) associated with the security |
103 * prompt |
113 * prompt |