public class Container extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Container.TYPE |
Constructor and Description |
---|
Container(File file,
DownloadBlocker db) |
Container(Project project,
File file) |
Modifier and Type | Method and Description |
---|---|
boolean |
contributeFiles(List<File> files,
Processor reporter)
Iterate over the containers and get the files they represent
|
boolean |
equals(Object other) |
static List<Container> |
flatten(Collection<Container> containers)
Take a container list and flatten it (e.g.
|
static void |
flatten(Collection<Container> containers,
List<Container> list)
Take a container list and flatten it (e.g.
|
static void |
flatten(Container container,
List<Container> list)
Flatten a container in the output list.
|
Map<String,String> |
getAttributes() |
String |
getBundleSymbolicName() |
String |
getError() |
File |
getFile() |
Manifest |
getManifest()
Answer the manifest for this container (if possible).
|
List<Container> |
getMembers()
Return the this if this is anything else but a library.
|
Project |
getProject() |
Container.TYPE |
getType() |
String |
getVersion() |
int |
hashCode() |
void |
putAttribute(String name,
String value) |
String |
toString()
Must show the file name or the error formatted as a file name
|
public Container(File file, DownloadBlocker db)
public File getFile()
public boolean contributeFiles(List<File> files, Processor reporter) throws Exception
files
- Exception
public String getBundleSymbolicName()
public String getVersion()
public Container.TYPE getType()
public String getError()
public Project getProject()
public String toString()
public List<Container> getMembers() throws Exception
Exception
public static void flatten(Container container, List<Container> list) throws Exception
container
- the container to flattenlist
- the result listException
public static List<Container> flatten(Collection<Container> containers) throws Exception
containers
- The containers to flatten, can be nullException
public static void flatten(Collection<Container> containers, List<Container> list) throws Exception
containers
- The containers to flatten, can be nullException
Copyright © 2015 aQute SARL. All rights reserved.