public interface PrivilegeHandler
Modifier and Type | Method and Description |
---|---|
PrivilegeDefinition[] |
readDefinitions(InputStream in,
Map<String,String> namespaces)
Read the privilege definitions and update the specified namespace mapping.
|
PrivilegeDefinition[] |
readDefinitions(Reader reader,
Map<String,String> namespaces)
Read the privilege definitions and update the specified namespace mapping.
|
void |
writeDefinitions(OutputStream out,
PrivilegeDefinition[] definitions,
Map<String,String> namespaces)
Write the specified privilege definitions to the given output stream.
|
void |
writeDefinitions(Writer writer,
PrivilegeDefinition[] definitions,
Map<String,String> namespaces)
Write the specified privilege definitions to the given writer.
|
PrivilegeDefinition[] readDefinitions(InputStream in, Map<String,String> namespaces) throws ParseException
in
- namespaces
- ParseException
PrivilegeDefinition[] readDefinitions(Reader reader, Map<String,String> namespaces) throws ParseException
reader
- namespaces
- ParseException
void writeDefinitions(OutputStream out, PrivilegeDefinition[] definitions, Map<String,String> namespaces) throws IOException
out
- definitions
- namespaces
- IOException
void writeDefinitions(Writer writer, PrivilegeDefinition[] definitions, Map<String,String> namespaces) throws IOException
writer
- definitions
- namespaces
- IOException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.