ProjectFileInfo

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.ms.System.IEquatable

public final class ProjectFileInfo implements 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.

Methods

MethodDescription
canRead()Gets a value indicating whether defines can Aspose.Tasks process the project file.
equals(ProjectFileInfo other)Returns a value indicating whether this instance is equal to a specified object.
equals(Object obj)Returns a value indicating whether this instance is equal to a specified object.
getProjectApplicationInfo()Gets project file application info.
getProjectFileFormat()Gets project file format.
hashCode()Returns a hash code value for the instance of the ProjectFileInfo class.
isPasswordProtected()Gets a value indicating whether a project is password protected.

canRead()

public final boolean canRead()

Gets a value indicating whether defines can Aspose.Tasks process the project file.

Returns: boolean - a value indicating whether defines can Aspose.

equals(ProjectFileInfo other)

public final boolean equals(ProjectFileInfo other)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:

ParameterTypeDescription
otherProjectFileInfoThe specified object to compare with this instance.

Returns: boolean - returns true if the specified ProjectFileInfo and this instance have equal file format and application info.

equals(Object obj)

public boolean equals(Object obj)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:

ParameterTypeDescription
objjava.lang.ObjectThe specified object to compare with this instance.

Returns: boolean - 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: int - project file application info.

getProjectFileFormat()

public final int getProjectFileFormat()

Gets project file format.

Returns: int - project file format.

hashCode()

public int hashCode()

Returns a hash code value for the instance of the ProjectFileInfo class.

Returns: int - returns a hash code value for this object.

isPasswordProtected()

public final boolean isPasswordProtected()

Gets a value indicating whether a project is password protected.

Returns: boolean - a value indicating whether a project is password protected.