|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.FileType
public class FileType
Represents a single server-registered file type. It has a name, an associated list of file extensions which define names which match this type, and a boolean indicating whether the file can be checked out non-exclusively.
| Field Summary |
|---|
| Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
|---|
webServiceObject |
| Constructor Summary | |
|---|---|
FileType(ms.tfs.versioncontrol.clientservices._03._FileType fileType)
Construct an AFileType given a soap-returned FileType object. |
|
FileType()
Construct a new, empty FileType, with a null name and no
associated extensions. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDisplayExtensions()
Gets the list of associated extensions for this file type, suitable for displaying only. |
java.lang.String |
getEditingExtensions()
Gets the list of associated extensions for this file type, suitable for editing. |
java.util.List<java.lang.String> |
getExtensions()
Gets the list of associated extensions for this file type in a List form |
java.lang.String |
getName()
|
ms.tfs.versioncontrol.clientservices._03._FileType |
getWebServiceObject()
Gets the web service object this class wraps. |
boolean |
isAllowMultipleCheckout()
|
void |
setAllowMultipleCheckout(boolean allowMultipleCheckout)
Sets whether this file type allows multiple check-outs. |
void |
setEditingExtensions(java.lang.String s)
Sets the associated extensions for this file type. |
void |
setName(java.lang.String name)
Set the name of this file type. |
java.lang.String |
toString()
|
| Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileType()
FileType, with a null name and no
associated extensions.
public FileType(ms.tfs.versioncontrol.clientservices._03._FileType fileType)
fileType - | Method Detail |
|---|
public ms.tfs.versioncontrol.clientservices._03._FileType getWebServiceObject()
public java.lang.String getName()
public java.util.List<java.lang.String> getExtensions()
public java.lang.String getDisplayExtensions()
public java.lang.String getEditingExtensions()
public void setEditingExtensions(java.lang.String s)
s - extensions to setpublic boolean isAllowMultipleCheckout()
true if the file type allows multiple check-outs.public void setAllowMultipleCheckout(boolean allowMultipleCheckout)
allowMultipleCheckout - true if this file type should allow multiple
check-outs.public void setName(java.lang.String name)
name - name to usepublic java.lang.String toString()
toString in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||