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 - ParseExceptionPrivilegeDefinition[] readDefinitions(Reader reader, Map<String,String> namespaces) throws ParseException
reader - namespaces - ParseExceptionvoid writeDefinitions(OutputStream out, PrivilegeDefinition[] definitions, Map<String,String> namespaces) throws IOException
out - definitions - namespaces - IOExceptionvoid writeDefinitions(Writer writer, PrivilegeDefinition[] definitions, Map<String,String> namespaces) throws IOException
writer - definitions - namespaces - IOExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.