Java Calendar Component v3.1
www.java-calendar.com

com.imagine.component.calendar.skins.external
Class CalendarSkinStyleExternalFile

java.lang.Object
  extended bycom.imagine.component.calendar.skins.styles.CalendarSkinStyle
      extended bycom.imagine.component.calendar.skins.external.CalendarSkinStyleExternal
          extended bycom.imagine.component.calendar.skins.external.CalendarSkinStyleExternalFile

public class CalendarSkinStyleExternalFile
extends CalendarSkinStyleExternal

Defines a calendar skin style that can be loaded from an external file.


Constructor Summary
CalendarSkinStyleExternalFile(java.io.File file)
          Creates an CalendarSkinStyleExternalFile from the specified file.
 
Method Summary
static void exportSkin(CalendarSkin calendarSkin, java.io.File file)
          Saves the specified calendar skin into the specified file.
 
Methods inherited from class com.imagine.component.calendar.skins.external.CalendarSkinStyleExternal
applyStyle, getName, saveSkin
 
Methods inherited from class com.imagine.component.calendar.skins.styles.CalendarSkinStyle
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarSkinStyleExternalFile

public CalendarSkinStyleExternalFile(java.io.File file)
                              throws java.io.FileNotFoundException,
                                     org.xml.sax.SAXException,
                                     java.io.IOException,
                                     javax.xml.parsers.ParserConfigurationException,
                                     javax.xml.parsers.FactoryConfigurationError
Creates an CalendarSkinStyleExternalFile from the specified file.

Parameters:
file - The file from which this skinStyle is created.
Method Detail

exportSkin

public static void exportSkin(CalendarSkin calendarSkin,
                              java.io.File file)
                       throws org.xml.sax.SAXException,
                              java.io.IOException,
                              javax.xml.parsers.ParserConfigurationException,
                              javax.xml.parsers.FactoryConfigurationError
Saves the specified calendar skin into the specified file.

Parameters:
calendarSkin - The calendarSkin to be saved.
file - The file into which the specified skin will be saved.
Throws:
org.xml.sax.SAXException
java.io.IOException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError

Java Calendar Component v3.1
www.java-calendar.com