Class BigEndianDetector
- java.lang.Object
-
- jetbrains.buildServer.nio.charset.BigEndianDetector
-
-
Constructor Summary
Constructors Constructor Description BigEndianDetector(boolean contentReadingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(File input)
Checks whether the given item meets the predicate.protected ByteOrder
getByteOrder()
Charset
getCharset()
-
-
-
Method Detail
-
getCharset
@NotNull public Charset getCharset()
- See Also:
CharsetDetector.getCharset()
-
getByteOrder
@NotNull protected ByteOrder getByteOrder()
- See Also:
Utf16Detector.getByteOrder()
-
apply
public final boolean apply(File input)
Checks whether the given item meets the predicate.- Specified by:
apply
in interfacePredicate<File>
- Parameters:
input
- item to check.- Returns:
- true - meets.
- See Also:
Predicate.apply(Object)
-
-