org.eclipse.jdt.internal.compiler.batch
Class FileSystem.ClasspathNormalizer
java.lang.Object
org.eclipse.jdt.internal.compiler.batch.FileSystem.ClasspathNormalizer
- Enclosing class:
- FileSystem
public static class FileSystem.ClasspathNormalizer
- extends Object
This class is defined how to normalize the classpath entries.
It removes duplicate entries.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystem.ClasspathNormalizer
public FileSystem.ClasspathNormalizer()
normalize
public static ArrayList normalize(ArrayList classpaths)
- Returns the normalized classpath entries (no duplicate).
The given classpath entries are FileSystem.Classpath. We check the getPath() in order to find
duplicate entries.
- Parameters:
classpaths
- the given classpath entries
- Returns:
- the normalized classpath entries
Copyright © 2012. All Rights Reserved.