Class FileToPathMap
- java.lang.Object
-
- org.eclipse.tycho.p2.impl.publisher.rootfiles.FileToPathMap
-
public class FileToPathMap extends java.lang.Object
A map using normalized files as keys and (relative) IPaths as values. Only normalized files are used as keys internally.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.io.File,org.eclipse.core.runtime.IPath>
map
-
Constructor Summary
Constructors Constructor Description FileToPathMap()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static java.io.File
canonify(java.io.File key)
org.eclipse.core.runtime.IPath
get(java.io.File key)
java.util.Set<java.io.File>
keySet()
void
put(java.io.File key, org.eclipse.core.runtime.IPath value)
void
putAll(FileToPathMap otherMap)
int
size()
java.util.Collection<org.eclipse.core.runtime.IPath>
values()
-
-
-
Method Detail
-
put
public void put(java.io.File key, org.eclipse.core.runtime.IPath value)
-
values
public java.util.Collection<org.eclipse.core.runtime.IPath> values()
-
get
public org.eclipse.core.runtime.IPath get(java.io.File key)
-
putAll
public void putAll(FileToPathMap otherMap)
-
keySet
public java.util.Set<java.io.File> keySet()
-
canonify
private static java.io.File canonify(java.io.File key)
-
size
public int size()
-
-