| /******************************************************************************* |
| * Copyright (c) 2007 Instantiations, Inc. |
| * 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 |
| * |
| * Contributors: |
| * Instantiations, Inc. - initial API and implementation |
| * xored software, Inc. - Eclipse way |
| *******************************************************************************/ |
| |
| package org.eclipse.epp.installer.archive; |
| |
| /** |
| * Interface representing an archive entry. |
| * |
| * @author Andrey Platov |
| */ |
| public interface IArchiveEntry { |
| |
| /** |
| * Returns the name of the entry. |
| * @return the name of the entry |
| */ |
| String getName(); |
| |
| /** |
| * Returns true if this is a directory entry. |
| * @return true if this is a directory entry |
| */ |
| boolean isDirectory(); |
| |
| |
| /** |
| * Returns original size of the entry data. |
| * @return original size of the entry data |
| */ |
| long getSize(); |
| |
| /** |
| * Returns modification time of the entry |
| * @return modification time of the entry |
| */ |
| long getTime(); |
| } |