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 booleancanRead()Gets a value indicating whether defines can Aspose.Tasks process the project file.booleanequals(ProjectFileInfo other)Returns a value indicating whether this instance is equal to a specified object.booleanequals(Object obj)Returns a value indicating whether this instance is equal to a specified object.intgetProjectApplicationInfo()Gets project file application info.intgetProjectFileFormat()Gets project file format.inthashCode()Returns a hash code value for the instance of theProjectFileInfoclass.booleanisPasswordProtected()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:
equalsin interfacecom.aspose.ms.System.IEquatable<ProjectFileInfo>- Overrides:
equalsin 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
ProjectFileInfoclass.
-
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.
-
-