当前页面:
在线文档首页 >
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. |
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