com.aptana.ide.debug.internal.core
Class LocalResourceMapper

java.lang.Object
  extended by com.aptana.ide.debug.internal.core.LocalResourceMapper

public class LocalResourceMapper
extends java.lang.Object

Author:
Max Stepanov

Constructor Summary
LocalResourceMapper()
           
 
Method Summary
 void addMapping(java.net.URL baseURL, java.io.File rootDir)
          addMapping
 java.net.URI resolveLocalURI(java.net.URI localURI)
          resolveLocalURI
 java.io.File resolveServerURL(java.net.URL url)
          resolveServerURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalResourceMapper

public LocalResourceMapper()
Method Detail

addMapping

public void addMapping(java.net.URL baseURL,
                       java.io.File rootDir)
                throws java.net.MalformedURLException
addMapping

Parameters:
baseURL -
rootDir -
Throws:
java.net.MalformedURLException

resolveServerURL

public java.io.File resolveServerURL(java.net.URL url)
resolveServerURL

Parameters:
url -
Returns:
File

resolveLocalURI

public java.net.URI resolveLocalURI(java.net.URI localURI)
resolveLocalURI

Parameters:
localURI -
Returns:
URI