swffilesignature.java

来自「java和flash混合编程」· Java 代码 · 共 29 行

JAVA
29
字号
/*
 * Created on Jul 4, 2003
 */
package com.anotherbigidea.flash.interfaces;

/**
 * Interface for passing the SWF file signature.
 * 
 * This allows the new Flash 6/MX Compressed File signature to be specified.
 * If this interface is not implemented, or the signature(..) method is not
 * called then the assumption is that the file signature is the normal,
 * non-compressed, one.
 * 
 * @author D.N.G. Main
 */
public interface SWFFileSignature {
                                                  
	//--File signatures
	public static final String SIGNATURE_NORMAL     = "FWS";
	public static final String SIGNATURE_COMPRESSED = "CWS"; 

	/**
	 * Pass the signature.  This method must be called before the header(..)
	 * method in SWFHeader. 
	 * @param sig the 3 char signature - one of the SIGNATURE_* constants.
	 */
	public void signature( String sig );
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?