com.jaxfront.core.util
Class LastFile

java.lang.Object
  extended by com.jaxfront.core.util.LastFile

public class LastFile
extends java.lang.Object

This class represents a recently opened xui file.

Version:
1.60

Constructor Summary
LastFile(java.lang.String urls)
          LastFile constructor.
LastFile(java.net.URL xsdURL, java.net.URL xmlURL, java.net.URL xuiURL, java.lang.String rootName)
          LastFile constructor.
 
Method Summary
 java.lang.String getID()
           
 java.lang.String getRootName()
          Gets the root name of the last opened file.
 java.net.URL getXmlURL()
          Gets the URL of the XML instance of the last opened file.
 java.net.URL getXsdURL()
          Gets the URL of the XSD of the last opened file.
 java.net.URL getXuiURL()
          Gets the URL of the XUI of the last opened file.
 int hits()
          Gets the counter of the last opened files.
 java.lang.String toString()
          Returns all URLs of the last opened file as a String
 void upCounter()
          Increases the counter of the last opened files.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LastFile

public LastFile(java.lang.String urls)
LastFile constructor.

Parameters:
urls - the urls that belongs to the last opened file

LastFile

public LastFile(java.net.URL xsdURL,
                java.net.URL xmlURL,
                java.net.URL xuiURL,
                java.lang.String rootName)
LastFile constructor.

Parameters:
xsdURL - xsdURL of the last opened file
xmlURL - xmlURL of the last opened file
xuiURL - xuiURL of the last opened file
rootName - the root name of the last opened file
Method Detail

getRootName

public java.lang.String getRootName()
Gets the root name of the last opened file.

Returns:
the root name of the last opened file

getXmlURL

public java.net.URL getXmlURL()
Gets the URL of the XML instance of the last opened file.

Returns:
the URL of the XML instance of the last opened file

getXsdURL

public java.net.URL getXsdURL()
Gets the URL of the XSD of the last opened file.

Returns:
the URL of the XSD of the last opened file

getXuiURL

public java.net.URL getXuiURL()
Gets the URL of the XUI of the last opened file.

Returns:
the URL of the XUI of the last opened file

hits

public int hits()
Gets the counter of the last opened files.

Returns:
the counter of the last opened files

toString

public java.lang.String toString()
Returns all URLs of the last opened file as a String

Overrides:
toString in class java.lang.Object
Returns:
all URLs of the last opened file as a String

upCounter

public void upCounter()
Increases the counter of the last opened files.


getID

public java.lang.String getID()