ICSharpCode::SharpZipLib::Zip::ZipNameTransform Class Reference

ZipNameTransform transforms name as per the Zip file convention. More...

Inheritance diagram for ICSharpCode::SharpZipLib::Zip::ZipNameTransform:

ICSharpCode::SharpZipLib::Core::INameTransform List of all members.

Public Member Functions

 ZipNameTransform ()
 Initialize a new instance of ZipNameTransform.
 ZipNameTransform (bool useRelativePaths)
 Initialize a new instance of ZipNameTransform.
 ZipNameTransform (bool useRelativePaths, string trimPrefix)
 Initialize a new instance of ZipNameTransform.
string TransformDirectory (string name)
 Transform a directory name according to the Zip file naming conventions.
string TransformFile (string name)
 Transform a file name according to the Zip file naming conventions.

Properties

string TrimPrefix
bool relativePath

Private Attributes

string trimPrefix = \"

Detailed Description

ZipNameTransform transforms name as per the Zip file convention.

Definition at line 47 of file ZipNameTransform.cs.


Constructor & Destructor Documentation

ICSharpCode::SharpZipLib::Zip::ZipNameTransform::ZipNameTransform  )  [inline]
 

Initialize a new instance of ZipNameTransform.

Relative paths default to true with this constructor.

Definition at line 53 of file ZipNameTransform.cs.

ICSharpCode::SharpZipLib::Zip::ZipNameTransform::ZipNameTransform bool  useRelativePaths  )  [inline]
 

Initialize a new instance of ZipNameTransform.

Parameters:
useRelativePaths If true relative paths are created, if false absolute paths are created.

Definition at line 63 of file ZipNameTransform.cs.

ICSharpCode::SharpZipLib::Zip::ZipNameTransform::ZipNameTransform bool  useRelativePaths,
string  trimPrefix
[inline]
 

Initialize a new instance of ZipNameTransform.

Parameters:
useRelativePaths If true relative paths are created, if false absolute paths are created.
trimPrefix The string to trim from front of paths if found.

Definition at line 74 of file ZipNameTransform.cs.


Member Function Documentation

string ICSharpCode::SharpZipLib::Zip::ZipNameTransform::TransformDirectory string  name  )  [inline]
 

Transform a directory name according to the Zip file naming conventions.

Parameters:
name The directory name to transform.
Returns:
The transformed name.

Implements ICSharpCode::SharpZipLib::Core::INameTransform.

Definition at line 85 of file ZipNameTransform.cs.

string ICSharpCode::SharpZipLib::Zip::ZipNameTransform::TransformFile string  name  )  [inline]
 

Transform a file name according to the Zip file naming conventions.

Parameters:
name The file name to transform.
Returns:
The transformed name.

Implements ICSharpCode::SharpZipLib::Core::INameTransform.

Definition at line 104 of file ZipNameTransform.cs.


Member Data Documentation

string ICSharpCode::SharpZipLib::Zip::ZipNameTransform::trimPrefix = \" [private]
 

Definition at line 134 of file ZipNameTransform.cs.


Property Documentation

bool ICSharpCode::SharpZipLib::Zip::ZipNameTransform::relativePath [private]
 

Definition at line 145 of file ZipNameTransform.cs.

string ICSharpCode::SharpZipLib::Zip::ZipNameTransform::TrimPrefix [get, set]
 

Definition at line 140 of file ZipNameTransform.cs.


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 21:50:07 2006 for OblivionModTranslator by  doxygen 1.4.6-NO