Class AuditLogReader

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.logs.AuditLogReader
All Implemented Interfaces:
Closeable, AutoCloseable

This class provides a mechanism for reading messages from a Directory Server audit log.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
  • Constructor Details

    • AuditLogReader

      Creates a new audit log reader that will read messages from the specified log file.
      Parameters:
      path - The path of the log file to read.
      Throws:
      IOException - If a problem occurs while opening the file for reading.
    • AuditLogReader

      public AuditLogReader(@NotNull File file) throws IOException
      Creates a new audit log reader that will read messages from the specified log file.
      Parameters:
      file - The log file to read.
      Throws:
      IOException - If a problem occurs while opening the file for reading.
    • AuditLogReader

      public AuditLogReader(@NotNull Reader reader)
      Creates a new audit log reader that will read messages using the provided Reader object.
      Parameters:
      reader - The reader to use to read log messages.
    • AuditLogReader

      public AuditLogReader(@NotNull InputStream inputStream)
      Creates a new audit log reader that will read messages from the provided input stream.
      Parameters:
      inputStream - The input stream from which to read log messages.
  • Method Details