java.lang.Object
de.grogra.pf.io.IO
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FilterSource
createPipeline
(FilterSource source, IOFlavor targetFlavor) static String
static MimeType
getMimeType
(String fileName) static MimeType
getMimeType
(String fileName, FileTypeItem.Filter[] list) static MimeType
getMimeTypeToRead
(String fileName, IOFlavor[] flavor) static MimeType
getMimeTypeToWrite
(String fileName, IOFlavor flavor) static FileTypeItem.Filter[]
getReadableFileTypes
(IOFlavor[] acceptableFlavors) static FilterSource
getRoot
(FilterSource source) static FileTypeItem.Filter[]
getWritableFileTypes
(IOFlavor sourceFlavor) static void
setSystemIdFromName
(Object item) With the change in systemId (all Item have a systemId now) there are some conflicts.static FSFile
toFile
(RegistryContext ctx, String systemId) static File
toLocalFile
(String systemIdOfFile) static String
static String
static String
toSimpleName
(String systemId) static String
toSystemId
(FileSystem fs, Object file) static String
toSystemId
(FileSystem fs, String name) static String
toSystemId
(FileSystem fs, URL url) static String
toSystemId
(File file) static URL
toURL
(RegistryContext ctx, String systemId) static void
writeXML
(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:
-
I18N
-
-
Method Details
-
createPipeline
-
getRoot
-
toSystemId
-
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
-