ariba.ui.aribaweb.util
Class AWJarWalker.FileIterator
java.lang.Object
ariba.ui.aribaweb.util.AWJarWalker.FileIterator
- All Implemented Interfaces:
- AWJarWalker.StreamIterator
- Enclosing class:
- AWJarWalker
public static class AWJarWalker.FileIterator
- extends Object
- implements AWJarWalker.StreamIterator
AWJarWalker.FileIterator
public AWJarWalker.FileIterator(File file,
AWJarWalker.Filter filter)
next
public boolean next()
- Specified by:
next in interface AWJarWalker.StreamIterator
- Returns:
- true until past last item
getInputStream
public InputStream getInputStream()
- Description copied from interface:
AWJarWalker.StreamIterator
- User is resposible for closing the InputStream returned
- Specified by:
getInputStream in interface AWJarWalker.StreamIterator
- Returns:
- null if no more streams left to iterate on
getFilename
public String getFilename()
- Specified by:
getFilename in interface AWJarWalker.StreamIterator
- Returns:
- file name (relative path)
getURLString
public String getURLString()
- Specified by:
getURLString in interface AWJarWalker.StreamIterator
- Returns:
- URL for current item
close
public void close()
- Description copied from interface:
AWJarWalker.StreamIterator
- Cleanup any open resources of the iterator
- Specified by:
close in interface AWJarWalker.StreamIterator
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.