org.nuiton.jredmine.model.io.xpp3
Class RedmineXpp3Helper

java.lang.Object
  extended by org.nuiton.jredmine.model.io.xpp3.RedmineXpp3Helper

public class RedmineXpp3Helper
extends Object

Pour construire le modèle à partir de fichiers xml contenant les données.

Since:
1.0.0
Author:
chemit

Constructor Summary
RedmineXpp3Helper()
           
 
Method Summary
<O> O
readObject(Class<O> klass, File file)
           
<O> O
readObject(Class<O> klass, InputStream stream)
           
<O> O
readObject(Class<O> klass, String txt)
           
<O> O[]
readObjects(Class<O> klass, File file)
           
<O> O[]
readObjects(Class<O> klass, InputStream stream)
           
<O> O[]
readObjects(Class<O> klass, String txt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedmineXpp3Helper

public RedmineXpp3Helper()
Method Detail

readObject

public <O> O readObject(Class<O> klass,
                        String txt)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readObjects

public <O> O[] readObjects(Class<O> klass,
                           String txt)
                throws IOException,
                       org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readObject

public <O> O readObject(Class<O> klass,
                        File file)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readObjects

public <O> O[] readObjects(Class<O> klass,
                           File file)
                throws IOException,
                       org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readObject

public <O> O readObject(Class<O> klass,
                        InputStream stream)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

readObjects

public <O> O[] readObjects(Class<O> klass,
                           InputStream stream)
                throws IOException,
                       org.codehaus.plexus.util.xml.pull.XmlPullParserException
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException


Copyright © 2009-2010 CodeLutin. All Rights Reserved.