class DefaultItemStorage extends Object implements ItemStorage, VariableResolver
| Constructor and Description |
|---|
DefaultItemStorage(XargsLineProcessor processor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flush() |
Object |
getValue(String name)
Returns the value currently set for the variable given by its name, or
null if no such variable exists.
|
void |
incrementLineCount()
Increments the line count by one.
|
void |
storeItem(String item)
Stores the specified item.
|
public DefaultItemStorage(XargsLineProcessor processor)
public void storeItem(String item)
ItemStoragestoreItem in interface ItemStorageitem - the item to storepublic void incrementLineCount()
ItemStorageincrementLineCount in interface ItemStorageprotected void flush()
public Object getValue(String name)
VariableResolvergetValue in interface VariableResolvername - the variable nameCopyright © 2025. All rights reserved.