blob: 5f338b30be7a3f7d02ed02790d30355d99f22358 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
*******************************************************************************/
package org.eclipse.dltk.core;
/**
* @since 2.0
*/
public interface IArchiveEntry {
/**
* Returns the name of the entry.
*
* @return the name of the entry
*/
public String getName();
/**
* Returns true if this is a directory entry. (For
* {@link java.util.zip.ZipFile} directory entry is defined to be one whose
* name ends with a '/').
*
* @return true if this is a directory entry
*/
public boolean isDirectory();
/**
* Returns the uncompressed size of the entry data, or -1 if not known.
*
* @return the uncompressed size of the entry data, or -1 if not known
*/
public long getSize();
}