com.springsource.util.osgi.manifest
Interface Parseable

All Known Subinterfaces:
BundleActivationPolicy, BundleSymbolicName, DynamicallyImportedPackage, DynamicImportPackage, ExportedPackage, ExportPackage, FragmentHost, ImportBundle, Imported, ImportedBundle, ImportedLibrary, ImportedPackage, ImportLibrary, ImportPackage, Parameterised, RequireBundle, RequiredBundle
All Known Implementing Classes:
BaseCompoundHeaderEntry, BaseImported, BaseParameterised, CompoundParseable, StandardBundleActivationPolicy, StandardBundleSymbolicName, StandardDynamicallyImportedPackage, StandardDynamicImportPackage, StandardExportedPackage, StandardExportPackage, StandardFragmentHost, StandardImportBundle, StandardImportedBundle, StandardImportedLibrary, StandardImportedPackage, StandardImportLibrary, StandardImportPackage, StandardRequireBundle, StandardRequiredBundle

public interface Parseable

Represents a header or header entry that can be converted into a parseable string and that can have its values (re)set by parsing a string.

Concurrent Semantics
May not be thread-safe.


Method Summary
 void resetFromParseString(java.lang.String string)
          Resets that header's values by parsing the supplied String.
 java.lang.String toParseString()
          Converts the header or header entry into a parseable String.
 

Method Detail

toParseString

java.lang.String toParseString()
Converts the header or header entry into a parseable String.

Returns:
The header in the form of a parseable String

resetFromParseString

void resetFromParseString(java.lang.String string)
Resets that header's values by parsing the supplied String.

Parameters:
string - The String to be parsed