- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 38 of file RoleMap.java.
◆ getName()
String org.turro.security.RoleMap.getName |
( |
| ) |
|
◆ getRolePermissions()
TreeMap<String, TreeSet<String> > org.turro.security.RoleMap.getRolePermissions |
( |
| ) |
|
Definition at line 51 of file RoleMap.java.
52 return rolePermissions;
◆ loadFrom()
static RoleMap org.turro.security.RoleMap.loadFrom |
( |
File |
file | ) |
|
|
static |
Definition at line 61 of file RoleMap.java.
62 try(Reader reader =
new FileReader(file)) {
63 return JsonConfiguration.read(reader, RoleMap.class);
64 }
catch (IOException ex) {
65 Logger.getLogger(RoleMap.class.getName()).log(Level.SEVERE,
null, ex);
◆ saveTo()
static void org.turro.security.RoleMap.saveTo |
( |
File |
file, |
|
|
RoleMap |
roleMap |
|
) |
| |
|
static |
Definition at line 70 of file RoleMap.java.
71 try(Writer writer =
new FileWriter(file)) {
72 roleMap.prepareSaving();
73 JsonConfiguration.write(writer, roleMap);
74 }
catch (IOException ex) {
75 Logger.getLogger(RoleMap.class.getName()).log(Level.SEVERE,
null, ex);
◆ setName()
void org.turro.security.RoleMap.setName |
( |
String |
name | ) |
|
The documentation for this class was generated from the following file: