javacommons/gcfprotocols/file/javasrc/com/nokia/mj/impl/file/FileInternalPermission.java
branchRCL_3
changeset 21 4376525cdefb
parent 17 0fd27995241b
equal deleted inserted replaced
19:71c436fe3ce0 21:4376525cdefb
    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