com.nervousync.commons.zip.models.Zip64ExtendInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nervousync-utils Show documentation
Show all versions of nervousync-utils Show documentation
Java Utils collections, development by Nervousync Studio (NSYC)
/*
* Licensed to the Nervousync Studio (NSYC) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.nervousync.commons.zip.models;
import com.nervousync.commons.core.Globals;
/**
* @author Steven Wee [email protected]
* @version $Revision: 1.0 $ $Date: Nov 28, 2017 4:48:01 PM $
*/
public final class Zip64ExtendInfo {
private int header = Globals.DEFAULT_VALUE_INT;
private int size = Globals.DEFAULT_VALUE_INT;
private long compressedSize = Globals.DEFAULT_VALUE_LONG;
private long originalSize = Globals.DEFAULT_VALUE_LONG;
private long offsetLocalHeader = Globals.DEFAULT_VALUE_LONG;
private int diskNumberStart = Globals.DEFAULT_VALUE_INT;
/**
* @return the header
*/
public int getHeader() {
return header;
}
/**
* @param header the header to set
*/
public void setHeader(int header) {
this.header = header;
}
/**
* @return the size
*/
public int getSize() {
return size;
}
/**
* @param size the size to set
*/
public void setSize(int size) {
this.size = size;
}
/**
* @return the compressedSize
*/
public long getCompressedSize() {
return compressedSize;
}
/**
* @param compressedSize the compressedSize to set
*/
public void setCompressedSize(long compressedSize) {
this.compressedSize = compressedSize;
}
/**
* @return the originalSize
*/
public long getOriginalSize() {
return originalSize;
}
/**
* @param originalSize the originalSize to set
*/
public void setOriginalSize(long originalSize) {
this.originalSize = originalSize;
}
/**
* @return the offsetLocalHeader
*/
public long getOffsetLocalHeader() {
return offsetLocalHeader;
}
/**
* @param offsetLocalHeader the offsetLocalHeader to set
*/
public void setOffsetLocalHeader(long offsetLocalHeader) {
this.offsetLocalHeader = offsetLocalHeader;
}
/**
* @return the diskNumberStart
*/
public int getDiskNumberStart() {
return diskNumberStart;
}
/**
* @param diskNumberStart the diskNumberStart to set
*/
public void setDiskNumberStart(int diskNumberStart) {
this.diskNumberStart = diskNumberStart;
}
}