available() method.ByteOrderMark as its first bytes.ByteOrderMark.UTF_8 BOM.ByteOrderMark.UTF_8 and optionally includes it.BOMInputStream.close() method.true if they are equal.true if they are equal ignoring the case.ByteOrderMark.getCharsetName().Charset the BOM represents.defaultValue if the name doesn't exist.mark(int) method.mark(int) method.markSupported() method.Ordered is an interface that can be implemented by objects that
should be orderable, for example in a Collection.read() method, detecting and optionally skipping BOM.read(byte[], int, int) method, detecting and optionally skipping BOM.read(byte[]) method, detecting and optionally skipping BOM.read() method.read(byte[]) method.read(byte[], int, int) method.reset() method.reset() method.skip(long) method, detecting and optionallyskipping BOM.skip(long) method.null by returning
null.null.null if the String is empty
("") after the trim or if it is null.Copyright © 2019 Ctrip, Inc.. All rights reserved.