M3GToolkit 0.5.0

com.java4ever.m3gtoolkit.plugins.m3g
Class M3GPlugin

java.lang.Object
  extended bycom.java4ever.m3gtoolkit.plugins.m3g.M3GPlugin
All Implemented Interfaces:
IOPlugin, Plugin

public class M3GPlugin
extends java.lang.Object
implements IOPlugin


Constructor Summary
M3GPlugin()
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 java.lang.String getDescription()
           
 java.lang.String getFileDescription()
           
 java.lang.String getFileExtension()
           
 java.lang.String getName()
           
 java.lang.String getVersion()
           
 M3GObject[] read(java.io.File file)
           
 void write(java.io.File file, M3GObject[] objects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

M3GPlugin

public M3GPlugin()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Plugin

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface Plugin

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface Plugin

getFileExtension

public java.lang.String getFileExtension()
Specified by:
getFileExtension in interface IOPlugin

getFileDescription

public java.lang.String getFileDescription()
Specified by:
getFileDescription in interface IOPlugin

canRead

public boolean canRead()
Specified by:
canRead in interface IOPlugin

canWrite

public boolean canWrite()
Specified by:
canWrite in interface IOPlugin

read

public M3GObject[] read(java.io.File file)
                 throws java.io.IOException
Specified by:
read in interface IOPlugin
Throws:
java.io.IOException

write

public void write(java.io.File file,
                  M3GObject[] objects)
           throws java.io.IOException
Specified by:
write in interface IOPlugin
Throws:
java.io.IOException

M3GToolkit 0.5.0

Copyright 2005 java4ever.com. All Rights Reserved.