Class 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • map

        private java.util.HashMap<java.io.File,​org.eclipse.core.runtime.IPath> map
    • Constructor Detail

      • FileToPathMap

        public FileToPathMap()
    • 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)
      • keySet

        public java.util.Set<java.io.File> keySet()
      • canonify

        private static java.io.File canonify​(java.io.File key)
      • size

        public int size()