Package org.slf4j.migrator
Class InplaceFileConverter
java.lang.Object
org.slf4j.migrator.InplaceFileConverter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final int
(package private) final LineConverter
(package private) final String
(package private) final ProgressListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
private byte[]
convertIntoTempByteArray
(byte[] input) private byte[]
readIntoByteArray
(File file) private void
writeConvertedBytesIntoFile
(File file, byte[] convertedBytes) private void
writeReplacement
(OutputStream os, String[] replacement)
-
Field Details
-
BUFFER_LEN
static final int BUFFER_LEN- See Also:
-
lineConverter
-
lineTerminator
-
pl
-
-
Constructor Details
-
InplaceFileConverter
InplaceFileConverter(RuleSet ruleSet, ProgressListener pl)
-
-
Method Details
-
readIntoByteArray
- Throws:
IOException
-
convert
- Throws:
IOException
-
writeConvertedBytesIntoFile
- Throws:
IOException
-
convertIntoTempByteArray
- Throws:
IOException
-
writeReplacement
- Throws:
IOException
-