- /**
- * @param data the array of bytes.
- * @param offset the source location in the data array.
- * @param length the number of bytes to use in the data array.
- * @see ZipExtraField#parseFromLocalFileData(byte[], int, int)
- */
- public void parseFromLocalFileData(byte[] data, int offset, int length) {
- byte[] tmp = new byte[length];
- System.arraycopy(data, offset, tmp, 0, length);
- setLocalFileDataData(tmp);
- }
+ /**
+ * @param data
+ * the array of bytes.
+ * @param offset
+ * the source location in the data array.
+ * @param length
+ * the number of bytes to use in the data array.
+ * @see ZipExtraField#parseFromLocalFileData(byte[], int, int)
+ */
+ public void parseFromLocalFileData(byte[] data, int offset, int length) {
+ byte[] tmp = new byte[length];
+ System.arraycopy(data, offset, tmp, 0, length);
+ setLocalFileDataData(tmp);
+ }