org.apache.commons.compress.utils

## Class OsgiUtils

- java.lang.Object
- - org.apache.commons.compress.utils.OsgiUtils

-     public class OsgiUtils
      extends Object

  Utilities for dealing with OSGi environments.
  Since:
    1.21

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `OsgiUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `isRunningInOsgiEnvironment()` Tests if Commons Compress running as an OSGi bundle?

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### OsgiUtils

          public OsgiUtils()

  - ### Method Detail

    - #### isRunningInOsgiEnvironment

          public static boolean isRunningInOsgiEnvironment()

      Tests if Commons Compress running as an OSGi bundle?
      Returns:
        true if Commons Compress running as an OSGi bundle.

Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.