站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

AddCommand (NetBeans VCS API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.api.vcs.commands
Interface AddCommand

All Superinterfaces:
Command, MessagingCommand

public interface AddCommand
extends MessagingCommand

This interface represents the VCS add command. This command will add new files into the version control repository. It will create the corresponding repository representation of this file.


Method Summary
 boolean isBinary()
          Whether the files will be treated as binary or not.
 void setBinary(boolean binary)
          Set the files as binary in VCS repository.
 
Methods inherited from interface org.netbeans.api.vcs.commands.MessagingCommand
getMessage, setMessage
 
Methods inherited from interface org.netbeans.api.vcs.commands.Command
execute, getApplicableFiles, getDisplayName, getFiles, getName, isExpertMode, isGUIMode, setExpertMode, setFiles, setGUIMode
 

Method Detail

setBinary

public void setBinary(boolean binary)
Set the files as binary in VCS repository. This serves as a suggestion for the underlying VCS command, which may ignore this property if it has it's own algorithm for the distinction of text and binary files.

Parameters:
binary - True for binary files, false for text files

isBinary

public boolean isBinary()
Whether the files will be treated as binary or not.

Returns:
true for binary files, false for text files

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.