Eclipse Platform
2.0

org.eclipse.team.core
Interface IFileTypeInfo


public interface IFileTypeInfo

A file type info specifies both the file extension and the corresponding file type.

Since:
2.0

Method Summary
 String getExtension()
          Returns the string specifying the file extension
 int getType()
          Returns the file type for files ending with the corresponding extension.
 

Method Detail

getExtension

public String getExtension()
Returns the string specifying the file extension

Returns:
the file extension

getType

public int getType()
Returns the file type for files ending with the corresponding extension. Valid values are: Team.UNKNOWN Team.TEXT Team.BINARY

Returns:
the file type

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.