Class SubstLib
java.lang.Object
org.apache.subversion.javahl.util.SubstLib
public class SubstLib extends Object
Encapsulates utility functions for substitution and translation
provided by the
svn_subst module of
libsvn_subr.- Since:
- 1.9
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SubstLib() -
Method Summary
Modifier and Type Method Description Map<String,byte[]>buildKeywords(byte[] keywordsValue, long revision, String url, String reposRootUrl, Date date, String author)InputStreamtranslateInputStream(InputStream source, byte[] eolMarker, boolean repairEol, Map<String,byte[]> keywords, boolean useKeywordsMap, boolean expandKeywords, byte[] keywordsValue, long revision, String url, String reposRootUrl, Date date, String author)OutputStreamtranslateOutputStream(OutputStream destination, byte[] eolMarker, boolean repairEol, Map<String,byte[]> keywords, boolean useKeywordsMap, boolean expandKeywords, byte[] keywordsValue, long revision, String url, String reposRootUrl, Date date, String author)
-
Field Details
-
Constructor Details
-
SubstLib
public SubstLib()
-
-
Method Details
-
buildKeywords
public Map<String,byte[]> buildKeywords(byte[] keywordsValue, long revision, String url, String reposRootUrl, Date date, String author) throws SubversionException, ClientException- Throws:
SubversionExceptionClientException- See Also:
SVNUtil.buildKeywords
-
translateInputStream
public InputStream translateInputStream(InputStream source, byte[] eolMarker, boolean repairEol, Map<String,byte[]> keywords, boolean useKeywordsMap, boolean expandKeywords, byte[] keywordsValue, long revision, String url, String reposRootUrl, Date date, String author) throws SubversionException, ClientException- Throws:
SubversionExceptionClientException- See Also:
SVNUtil.translateStream
-
translateOutputStream
public OutputStream translateOutputStream(OutputStream destination, byte[] eolMarker, boolean repairEol, Map<String,byte[]> keywords, boolean useKeywordsMap, boolean expandKeywords, byte[] keywordsValue, long revision, String url, String reposRootUrl, Date date, String author) throws SubversionException, ClientException- Throws:
SubversionExceptionClientException- See Also:
SVNUtil.translateStream
-