Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| EAC Toolkit 3.2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.endeca.soleng.eac.toolkit.logging
Class RelativePathFileHandler

    java.lang.Object
      java.util.logging.Handler
          java.util.logging.StreamHandler
              java.util.logging.FileHandler
                  com.endeca.soleng.eac.toolkit.logging.RelativePathFileHandler

    public class RelativePathFileHandler

extends java.util.logging.FileHandler

This class extends `FileHandler`, allowing the use of a relative path for logging. Specifically, this class looks for an "endeca.project.dir" system property or, if none is found, a "ENDECA_PROJECT_DIR" environment variable and uses the retrieved value as the base directory for logging (creating log files under that directory). If neither the system property not the environment variable is set, the relative path defaults to the current working directory.

Constructor Summary
`RelativePathFileHandler()`

Method Summary

Methods inherited from class java.util.logging.FileHandler
`close, publish`

Methods inherited from class java.util.logging.StreamHandler
`flush, isLoggable, setEncoding, setOutputStream`

Methods inherited from class java.util.logging.Handler
`getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RelativePathFileHandler

    public RelativePathFileHandler()
                            throws java.io.IOException

Throws:
  `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| EAC Toolkit 3.2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006, 2012, Oracle and/or its affiliates. All rights reserved.

    @VERSION
    PRODUCT: EAC Toolkit (eacToolkit)
    VERSION: 3.2.2
    BUILD:   NONEDEV
    ARCH_OS: n/a
    DATE:    2012-02-28T13:13:15-0500