Package org.apache.felix.framework.util
Class MultiReleaseContent
- java.lang.Object
-
- org.apache.felix.framework.util.MultiReleaseContent
-
- All Implemented Interfaces:
org.apache.felix.framework.cache.Content
public class MultiReleaseContent extends java.lang.Object implements org.apache.felix.framework.cache.Content
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.Enumeration<java.lang.String>
getEntries()
byte[]
getEntryAsBytes(java.lang.String name)
org.apache.felix.framework.cache.Content
getEntryAsContent(java.lang.String name)
java.lang.String
getEntryAsNativeLibrary(java.lang.String name)
java.io.InputStream
getEntryAsStream(java.lang.String name)
java.net.URL
getEntryAsURL(java.lang.String name)
boolean
hasEntry(java.lang.String name)
static org.apache.felix.framework.cache.Content
wrap(java.lang.String javaVersionString, org.apache.felix.framework.cache.Content content)
-
-
-
Method Detail
-
wrap
public static org.apache.felix.framework.cache.Content wrap(java.lang.String javaVersionString, org.apache.felix.framework.cache.Content content)
-
close
public void close()
- Specified by:
close
in interfaceorg.apache.felix.framework.cache.Content
-
hasEntry
public boolean hasEntry(java.lang.String name)
- Specified by:
hasEntry
in interfaceorg.apache.felix.framework.cache.Content
-
getEntries
public java.util.Enumeration<java.lang.String> getEntries()
- Specified by:
getEntries
in interfaceorg.apache.felix.framework.cache.Content
-
getEntryAsBytes
public byte[] getEntryAsBytes(java.lang.String name)
- Specified by:
getEntryAsBytes
in interfaceorg.apache.felix.framework.cache.Content
-
getEntryAsStream
public java.io.InputStream getEntryAsStream(java.lang.String name) throws java.io.IOException
- Specified by:
getEntryAsStream
in interfaceorg.apache.felix.framework.cache.Content
- Throws:
java.io.IOException
-
getEntryAsContent
public org.apache.felix.framework.cache.Content getEntryAsContent(java.lang.String name)
- Specified by:
getEntryAsContent
in interfaceorg.apache.felix.framework.cache.Content
-
getEntryAsNativeLibrary
public java.lang.String getEntryAsNativeLibrary(java.lang.String name)
- Specified by:
getEntryAsNativeLibrary
in interfaceorg.apache.felix.framework.cache.Content
-
getEntryAsURL
public java.net.URL getEntryAsURL(java.lang.String name)
- Specified by:
getEntryAsURL
in interfaceorg.apache.felix.framework.cache.Content
-
-