1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00

fix: [api] SystemTarHandler has inconsistent API

This commit is contained in:
Xuan Chen 2008-02-29 21:25:43 +00:00
parent 92db6c4100
commit 022347414f
4 changed files with 14 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2003, 2007 IBM Corporation and others.
* Copyright (c) 2003, 2008 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
@ -13,6 +13,7 @@
*
* Contributors:
* {Name} (company) - description of contribution.
* Xuan Chen (IBM) - [api] SystemTarHandler has inconsistent API
*******************************************************************************/
package org.eclipse.rse.internal.services.clientserver.archiveutils;
@ -20,6 +21,8 @@ package org.eclipse.rse.internal.services.clientserver.archiveutils;
import java.io.IOException;
import java.io.OutputStream;
import org.eclipse.rse.services.clientserver.archiveutils.TarEntry;
/**
* This class implements an output stream filter for writing files in the
* tar file format.

View file

@ -21,6 +21,7 @@
* Xuan Chen (IBM) - [211653] Copy virtual directory with nested directory of tar file did not work
* Xuan Chen (IBM) - [214251] [archive] "Last Modified Time" changed for all virtual files/folders if rename/paste/delete of one virtual file.
* Xuan Chen (IBM) - [191370] [dstore] Supertransfer zip not deleted when cancelling copy
* Xuan Chen (IBM) - [api] SystemTarHandler has inconsistent API
*******************************************************************************/
package org.eclipse.rse.services.clientserver.archiveutils;
@ -43,8 +44,6 @@ import java.util.Vector;
import org.eclipse.rse.internal.services.clientserver.archiveutils.ITarConstants;
import org.eclipse.rse.internal.services.clientserver.archiveutils.SystemArchiveUtil;
import org.eclipse.rse.internal.services.clientserver.archiveutils.TarEntry;
import org.eclipse.rse.internal.services.clientserver.archiveutils.TarFile;
import org.eclipse.rse.internal.services.clientserver.archiveutils.TarOutputStream;
import org.eclipse.rse.services.clientserver.ISystemFileTypes;
import org.eclipse.rse.services.clientserver.ISystemOperationMonitor;

View file

@ -13,15 +13,18 @@
*
* Contributors:
* Martin Oberhuber (Wind River) - [219975] Fix implementations of clone()
* Xuan Chen (IBM) - [api] SystemTarHandler has inconsistent API
*******************************************************************************/
package org.eclipse.rse.internal.services.clientserver.archiveutils;
package org.eclipse.rse.services.clientserver.archiveutils;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import org.eclipse.rse.internal.services.clientserver.archiveutils.ITarConstants;
/**
* This class represents a tar file entry.
*/

View file

@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2003, 2007 IBM Corporation and others.
* Copyright (c) 2003, 2008 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
@ -13,9 +13,10 @@
*
* Contributors:
* {Name} (company) - description of contribution.
* Xuan Chen (IBM) - [api] SystemTarHandler has inconsistent API
*******************************************************************************/
package org.eclipse.rse.internal.services.clientserver.archiveutils;
package org.eclipse.rse.services.clientserver.archiveutils;
import java.io.File;
import java.io.FileInputStream;
@ -25,6 +26,8 @@ import java.io.InputStream;
import java.util.Enumeration;
import java.util.Vector;
import org.eclipse.rse.internal.services.clientserver.archiveutils.ITarConstants;
/**
* This class is used to read entries from a tar file.
*/