java.lang.Object
de.grogra.pf.io.IO
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final I18NBundlestatic final Stringstatic final Stringstatic final char -
Method Summary
Modifier and TypeMethodDescriptionstatic FilterSourcecreatePipeline(FilterSource source, IOFlavor targetFlavor) static Stringstatic MimeTypegetMimeType(String fileName) static MimeTypegetMimeType(String fileName, FileTypeItem.Filter[] list) static MimeTypegetMimeTypeToRead(String fileName, IOFlavor[] flavor) static MimeTypegetMimeTypeToWrite(String fileName, IOFlavor flavor) static ObjectgetPluginResource(String dirName, String completeName, RegistryContext ctx) static FileTypeItem.Filter[]getReadableFileTypes(IOFlavor[] acceptableFlavors) static FilterSourcegetRoot(FilterSource source) static FileTypeItem.Filter[]getWritableFileTypes(IOFlavor sourceFlavor) static booleanstatic voidsetSystemIdFromName(Object item) With the change in systemId (all Item have a systemId now) there are some conflicts.static FSFiletoFile(RegistryContext ctx, String systemId) static FiletoLocalFile(String systemIdOfFile) static Stringstatic Stringstatic StringtoSimpleName(String systemId) static StringtoSystemId(FileSystem fs, Object file) static StringtoSystemId(FileSystem fs, String name) static StringtoSystemId(FileSystem fs, URL url) static StringtoSystemId(File file) static URLtoURL(RegistryContext ctx, String systemId) static voidwriteXML(FilterSource xml, FileSystem fs, String file, MimeType mimeType)
-
Field Details
-
PROJECT_FS
- See Also:
-
SYSTEM_ID_SEPARATOR
public static final char SYSTEM_ID_SEPARATOR- See Also:
-
PLUGIN_LIB_FS
- See Also:
-
I18N
-
-
Method Details
-
createPipeline
-
getRoot
-
toSystemId
-
isPluginLibResource
-
getPluginResource
-
toFile
-
toLocalFile
-
toPath
-
toName
-
toSimpleName
-
toURL
- Throws:
MalformedURLException
-
toSystemId
-
toSystemId
-
toSystemId
-
getMimeTypeToWrite
-
getMimeTypeToRead
-
getMimeType
-
getMimeType
-
getReadableFileTypes
-
getWritableFileTypes
-
getDescription
-
writeXML
public static void writeXML(FilterSource xml, FileSystem fs, String file, MimeType mimeType) throws IOException - Throws:
IOException
-
setSystemIdFromName
With the change in systemId (all Item have a systemId now) there are some conflicts. Some item had their systemid and name merged (sourceFile)- Parameters:
item- an Item object
-