org.xwiki.wikistream.xml.input
Class DefaultSourceInputSource

java.lang.Object
  extended by org.xwiki.wikistream.xml.input.DefaultSourceInputSource
All Implemented Interfaces:
Closeable, InputSource, SourceInputSource

@Unstable
public class DefaultSourceInputSource
extends Object
implements SourceInputSource

Default implementation of SourceInputSource.

Since:
5.3RC1
Version:
$Id: f40fa214f0631cf6142c3151cf2c769ea1a53cdc $

Constructor Summary
DefaultSourceInputSource(Source source)
           
 
Method Summary
 void close()
           
 Source getSource()
           
 boolean restartSupported()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSourceInputSource

public DefaultSourceInputSource(Source source)
Parameters:
source - the Source
Method Detail

restartSupported

public boolean restartSupported()
Specified by:
restartSupported in interface InputSource

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Throws:
IOException

getSource

public Source getSource()
Specified by:
getSource in interface SourceInputSource
Returns:
the Source


Copyright © 2004–2014 XWiki. All rights reserved.