mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
fix: [api] SystemTarHandler has inconsistent API
This commit is contained in:
parent
92db6c4100
commit
022347414f
4 changed files with 14 additions and 6 deletions
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -13,6 +13,7 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* {Name} (company) - description of contribution.
|
* {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.internal.services.clientserver.archiveutils;
|
||||||
|
@ -20,6 +21,8 @@ package org.eclipse.rse.internal.services.clientserver.archiveutils;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
|
||||||
|
import org.eclipse.rse.services.clientserver.archiveutils.TarEntry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class implements an output stream filter for writing files in the
|
* This class implements an output stream filter for writing files in the
|
||||||
* tar file format.
|
* tar file format.
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
* Xuan Chen (IBM) - [211653] Copy virtual directory with nested directory of tar file did not work
|
* 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) - [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) - [191370] [dstore] Supertransfer zip not deleted when cancelling copy
|
||||||
|
* Xuan Chen (IBM) - [api] SystemTarHandler has inconsistent API
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.services.clientserver.archiveutils;
|
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.ITarConstants;
|
||||||
import org.eclipse.rse.internal.services.clientserver.archiveutils.SystemArchiveUtil;
|
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.internal.services.clientserver.archiveutils.TarOutputStream;
|
||||||
import org.eclipse.rse.services.clientserver.ISystemFileTypes;
|
import org.eclipse.rse.services.clientserver.ISystemFileTypes;
|
||||||
import org.eclipse.rse.services.clientserver.ISystemOperationMonitor;
|
import org.eclipse.rse.services.clientserver.ISystemOperationMonitor;
|
||||||
|
|
|
@ -13,15 +13,18 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Martin Oberhuber (Wind River) - [219975] Fix implementations of clone()
|
* 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.ByteArrayInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.OutputStream;
|
import java.io.OutputStream;
|
||||||
|
|
||||||
|
import org.eclipse.rse.internal.services.clientserver.archiveutils.ITarConstants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class represents a tar file entry.
|
* This class represents a tar file entry.
|
||||||
*/
|
*/
|
|
@ -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
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
|
@ -13,9 +13,10 @@
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* {Name} (company) - description of contribution.
|
* {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.File;
|
||||||
import java.io.FileInputStream;
|
import java.io.FileInputStream;
|
||||||
|
@ -25,6 +26,8 @@ import java.io.InputStream;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
|
|
||||||
|
import org.eclipse.rse.internal.services.clientserver.archiveutils.ITarConstants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class is used to read entries from a tar file.
|
* This class is used to read entries from a tar file.
|
||||||
*/
|
*/
|
Loading…
Add table
Reference in a new issue