org.ros.internal.message
Class StringFileProvider
java.lang.Object
org.ros.internal.message.StringFileProvider
public class StringFileProvider
- extends java.lang.Object
Constructor Summary |
StringFileProvider(org.apache.commons.io.filefilter.IOFileFilter ioFileFilter)
|
Method Summary |
void |
addDirectory(java.io.File directory)
Adds a new directory to be scanned for topic definition files. |
java.lang.String |
get(java.io.File file)
|
java.util.Map<java.io.File,java.lang.String> |
getStrings()
|
boolean |
has(java.io.File file)
|
void |
update()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringFileProvider
public StringFileProvider(org.apache.commons.io.filefilter.IOFileFilter ioFileFilter)
update
public void update()
addDirectory
public void addDirectory(java.io.File directory)
- Adds a new directory to be scanned for topic definition files.
- Parameters:
directory
- the directory to add
getStrings
public java.util.Map<java.io.File,java.lang.String> getStrings()
get
public java.lang.String get(java.io.File file)
has
public boolean has(java.io.File file)