org.ops4j.pax.construct.util
Class BndUtils

java.lang.Object
  extended by org.ops4j.pax.construct.util.BndUtils

public final class BndUtils
extends java.lang.Object

Provide API BndUtils.Bnd and factory for editing Bnd instruction files


Nested Class Summary
static interface BndUtils.Bnd
          API for editing Bnd files
static class BndUtils.ExistingInstructionException
          Thrown when a Bnd instruction already exists and can't be overwritten BndUtils.Bnd
 
Method Summary
static BndUtils.Bnd readBnd(java.io.File here)
          Factory method that provides an editor for an existing or new Bnd file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

readBnd

public static BndUtils.Bnd readBnd(java.io.File here)
                            throws java.io.IOException
Factory method that provides an editor for an existing or new Bnd file

Parameters:
here - a Bnd file, or a directory containing a file named 'osgi.bnd'
Returns:
simple Bnd file editor
Throws:
java.io.IOException


Copyright © 2007-2008 OPS4J. All Rights Reserved.