Package com.github.javaparser
Class LineEndingProcessingProvider
- java.lang.Object
-
- com.github.javaparser.LineEndingProcessingProvider
-
-
Constructor Summary
Constructors Constructor Description LineEndingProcessingProvider(int bufferSize, Provider input)LineEndingProcessingProvider(Provider input)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the stream and releases any system resources associated with it.LineSeparatorgetDetectedLineEnding()intread(char[] buffer, int offset, int len)Reads characters into an array
-
-
-
Method Detail
-
close
public void close() throws IOExceptionDescription copied from interface:ProviderCloses the stream and releases any system resources associated with it.- Specified by:
closein interfaceProvider- Throws:
IOException
-
getDetectedLineEnding
public LineSeparator getDetectedLineEnding()
-
read
public int read(char[] buffer, int offset, int len) throws IOExceptionDescription copied from interface:ProviderReads characters into an array- Specified by:
readin interfaceProvider- Parameters:
buffer- Destination bufferoffset- Offset at which to start storing characterslen- The maximum possible number of characters to read- Returns:
- The number of characters read, or -1 if all read
- Throws:
IOException
-
-