Package com.aspose.tasks
Class ProjectFileInfo
- java.lang.Object
-
- com.aspose.tasks.ProjectFileInfo
-
- All Implemented Interfaces:
com.aspose.ms.System.IEquatable<ProjectFileInfo>
public final class ProjectFileInfo extends Object implements com.aspose.ms.System.IEquatable<ProjectFileInfo>
The class instance contains information about project file format and version of Microsoft Project where the file was created.
Use CanRead property to define that the library can process the project file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRead()
Gets a value indicating whether defines can Aspose.Tasks process the project file.boolean
equals(ProjectFileInfo other)
Returns a value indicating whether this instance is equal to a specified object.boolean
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.int
getProjectApplicationInfo()
Gets project file application info.int
getProjectFileFormat()
Gets project file format.int
hashCode()
Returns a hash code value for the instance of theProjectFileInfo
class.boolean
isPasswordProtected()
Gets a value indicating whether a project is password protected.
-
-
-
Method Detail
-
canRead
public final boolean canRead()
Gets a value indicating whether defines can Aspose.Tasks process the project file.
- Returns:
- a value indicating whether defines can Aspose.
-
equals
public final boolean equals(ProjectFileInfo other)
Returns a value indicating whether this instance is equal to a specified object.
- Parameters:
other
- The specified object to compare with this instance.- Returns:
- returns true if the specified ProjectFileInfo and this instance have equal file format and application info.
-
equals
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
- Specified by:
equals
in interfacecom.aspose.ms.System.IEquatable<ProjectFileInfo>
- Overrides:
equals
in classObject
- Parameters:
obj
- The specified object to compare with this instance.- Returns:
- returns true if the specified ProjectFileInfo and this instance have equal file format and application info.
-
getProjectApplicationInfo
public final int getProjectApplicationInfo()
Gets project file application info.
- Returns:
- project file application info.
-
getProjectFileFormat
public final int getProjectFileFormat()
Gets project file format.
- Returns:
- project file format.
-
hashCode
public int hashCode()
Returns a hash code value for the instance of the
ProjectFileInfo
class.
-
isPasswordProtected
public final boolean isPasswordProtected()
Gets a value indicating whether a project is password protected.
- Returns:
- a value indicating whether a project is password protected.
-
-