
cz.abclinuxu.datoveschranky.tinyDB.holders.StringHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiny-isds Show documentation
Show all versions of tiny-isds Show documentation
Library implementing subset of JavaISDS - basically readonly access.
The newest version!
package cz.abclinuxu.datoveschranky.tinyDB.holders;
/**
*
* Zapisuje výsledek čtení do StringBuilderu, výsledek vrátí jako String.
*
* @author Vaclav Rosecky <xrosecky 'at' gmail 'dot' com>
*/
public class StringHolder implements OutputHolder {
StringBuilder result = new StringBuilder();
public void write(char[] array, int start, int length) {
result.append(array, start, length);
}
public String getResult() {
return result.toString();
}
@Override
public String toString() {
return result.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy