aQute.bnd.osgi
Class Instructions
java.lang.Object
aQute.bnd.osgi.Instructions
- All Implemented Interfaces:
- Map<Instruction,Attrs>
public class Instructions
- extends Object
- implements Map<Instruction,Attrs>
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
ALWAYS
public static Instructions ALWAYS
Instructions
public Instructions(Instructions other)
Instructions
public Instructions(Collection<String> other)
Instructions
public Instructions()
Instructions
public Instructions(Parameters contained)
Instructions
public Instructions(String h)
clear
public void clear()
- Specified by:
clear in interface Map<Instruction,Attrs>
containsKey
public boolean containsKey(Instruction name)
containsKey
@Deprecated
public boolean containsKey(Object name)
- Deprecated.
- Specified by:
containsKey in interface Map<Instruction,Attrs>
containsValue
public boolean containsValue(Attrs value)
containsValue
@Deprecated
public boolean containsValue(Object value)
- Deprecated.
- Specified by:
containsValue in interface Map<Instruction,Attrs>
entrySet
public Set<Map.Entry<Instruction,Attrs>> entrySet()
- Specified by:
entrySet in interface Map<Instruction,Attrs>
get
@Deprecated
public Attrs get(Object key)
- Deprecated.
- Specified by:
get in interface Map<Instruction,Attrs>
get
public Attrs get(Instruction key)
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<Instruction,Attrs>
keySet
public Set<Instruction> keySet()
- Specified by:
keySet in interface Map<Instruction,Attrs>
put
public Attrs put(Instruction key,
Attrs value)
- Specified by:
put in interface Map<Instruction,Attrs>
putAll
public void putAll(Map<? extends Instruction,? extends Attrs> map)
- Specified by:
putAll in interface Map<Instruction,Attrs>
remove
@Deprecated
public Attrs remove(Object var0)
- Deprecated.
- Specified by:
remove in interface Map<Instruction,Attrs>
remove
public Attrs remove(Instruction var0)
size
public int size()
- Specified by:
size in interface Map<Instruction,Attrs>
values
public Collection<Attrs> values()
- Specified by:
values in interface Map<Instruction,Attrs>
toString
public String toString()
- Overrides:
toString in class Object
append
public void append(Parameters other)
select
public <T> Collection<T> select(Collection<T> set,
boolean emptyIsAll)
select
public <T> Collection<T> select(Collection<T> set,
Set<Instruction> unused,
boolean emptyIsAll)
reject
public <T> Collection<T> reject(Collection<T> set)
matcher
public Instruction matcher(String value)
finder
public Instruction finder(String value)
matches
public boolean matches(String value)
select
public Map<File,Attrs> select(File base)
- Turn this Instructions into a map of File -> Attrs. You can specify a
base directory, which will match all files in that directory against the
specification or you can use literal instructions to get files from
anywhere.
- Parameters:
base - The directory to list files from.
- Returns:
- The map that links files to attributes
Copyright © 2014 aQute SARL. All rights reserved.