com.sap.sdm.api.remote
Interface URLMimic


public interface URLMimic

Represents a Uniform Resource Locator, mimicking the java.net.URL class.

Version:
1.0

Method Summary
 java.lang.String getFile()
          Returns the file part of the represented URL.
 java.lang.String getHost()
          Returns the host part of the represented URL.
 int getPort()
          Returns the port part of the represented URL.
 java.lang.String getProtocol()
          Returns the protocol part of the represented URL.
 

Method Detail

getProtocol

public java.lang.String getProtocol()
                             throws RemoteException
Returns the protocol part of the represented URL.
Returns:
the name of the protocol

getHost

public java.lang.String getHost()
                         throws RemoteException
Returns the host part of the represented URL.
Returns:
the name of the host

getPort

public int getPort()
            throws RemoteException
Returns the port part of the represented URL.
Returns:
the port number on the host

getFile

public java.lang.String getFile()
                         throws RemoteException
Returns the file part of the represented URL.
Returns:
the file name on the host