?? codecompressor.cs
字號:
namespace com.sarmal.scriptutil.text.compress
{
using System;
/// <summary>
/// <disclaimer>2003-2005 (C) - sarmal.com - http://www.sarmal.com </disclaimer>
/// <meta-data>
/// <version>1.0.3</version>
/// <author>
/// <name>Volkan 謟鏴lik</name>
/// <e-mail>volkan@sarmal.com</e-mail>
/// </author>
/// </meta-data>
/// <description>
/// <p>The interface for a generic code compressor.</p>
/// </description>
/// </summary>
public interface CodeCompressor
{
/// <summary>
/// Compresses the given String
/// </summary>
/// <param name="toBeCompressed">String to be compressed.</param>
void Compress(ref String toBeCompressed);
/// <summary>
/// Compresses sourcePath and writes the compressed Stream
/// into the destinationPath. A new file is created if file
/// does not exist.
/// </summary>
/// <param name="sourcePath">The source file path to compress</param>
/// <param name="destinationPath">The destination file path
/// to write the compressed Stream.</param>
void Compress(String sourcePath, String destinationPath);
/// <summary>
/// If <code>true</code> comments will be removed.
/// </summary>
bool RemoveComments {set;}
/// <summary>
/// If <code>true/code> lines will be trimmed.
/// </summary>
bool TrimLines {set;}
/// <summary>
/// If <code>true</code> CRLF characters will be removed.
/// </summary>
bool RemoveCRLF {set;}
/// <summary>
/// If <code>true</code> additional compression will be done.
/// </summary>
bool RemoveEverthingElse {set;}
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -