com.imagine.component.calendar.skins.external
Class CalendarSkinStyleExternalFile
java.lang.Object
com.imagine.component.calendar.skins.styles.CalendarSkinStyle
com.imagine.component.calendar.skins.external.CalendarSkinStyleExternal
com.imagine.component.calendar.skins.external.CalendarSkinStyleExternalFile
- public class CalendarSkinStyleExternalFile
- extends CalendarSkinStyleExternal
Defines a calendar skin style that can be loaded from an external 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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.
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