org.eclipse.jdt.internal.compiler.batch
Class FileSystem.ClasspathNormalizer

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.batch.FileSystem.ClasspathNormalizer
Enclosing class:
FileSystem

public static class FileSystem.ClasspathNormalizer
extends java.lang.Object

This class is defined how to normalize the classpath entries. It removes duplicate entries.


Constructor Summary
FileSystem.ClasspathNormalizer()
           
 
Method Summary
static java.util.ArrayList normalize(java.util.ArrayList classpaths)
          Returns the normalized classpath entries (no duplicate).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSystem.ClasspathNormalizer

public FileSystem.ClasspathNormalizer()
Method Detail

normalize

public static java.util.ArrayList normalize(java.util.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