public class S73DHelper
extends java.lang.Object
Constructor and Description |
---|
S73DHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
get3DMimeType(Asset asset)
Returns the mime type string for a 3D asset
|
static java.lang.String |
get3DMimeType(java.lang.String fileName)
Returns the mime type string for an asset or file path based on the extension
|
static java.lang.String[] |
getDependencyPaths(Resource resource)
Get a list of dependencies.
|
static java.lang.String |
getProgressOperation(Resource resource)
Returns the progress operation for the given resource
|
static java.lang.String |
getProgressValue(Resource resource)
Returns the progress value for the given resource
|
static java.lang.String |
getS7Type(Resource resource)
Returns the S7 type for the given resource.
|
static boolean |
has3DMimeTypeDC(Resource resource)
Returns true if the metadata based mime type is recognized as a 3D resource - uses DC_FORMAT
|
static boolean |
has3DMimeTypeJCR(Resource resource)
Returns true if the metadata based mime type is recognized as a 3D resource - uses JCR_FORMAT
|
static boolean |
hasModel(Resource resource)
Does the resource contain a model folder - indicating 3D ingestion has been applied
|
static boolean |
is3DMimeType(Resource resource)
Checks whether the given resource represent an S7 3D model or not.
|
static boolean |
isIncomplete(Resource resource)
Does the resource have unresolved required dependencies
|
static boolean |
isS73D(Resource resource)
Checks whether the given resource represent an S7 3D model or not.
|
static boolean |
isUnResolved(Resource resource)
Does the resource have unresolved dependencies
|
static boolean |
isV3DInstalled(Session session) |
public static boolean isV3DInstalled(Session session)
public static java.lang.String getS7Type(Resource resource)
resource
- resource instancepublic static boolean isS73D(Resource resource)
resource
- resource instancepublic static boolean hasModel(Resource resource)
resource
- resource instancepublic static boolean is3DMimeType(Resource resource)
resource
- resource instancepublic static java.lang.String[] getDependencyPaths(Resource resource)
resource
- resource instancepublic static boolean isUnResolved(Resource resource)
resource
- resource instancepublic static boolean isIncomplete(Resource resource)
resource
- resource instancepublic static java.lang.String getProgressValue(Resource resource)
resource
- resource instancepublic static java.lang.String getProgressOperation(Resource resource)
resource
- resource instancepublic static boolean has3DMimeTypeDC(Resource resource)
resource
- resourcepublic static boolean has3DMimeTypeJCR(Resource resource)
resource
- resourcepublic static java.lang.String get3DMimeType(Asset asset)
asset
- assetpublic static java.lang.String get3DMimeType(java.lang.String fileName)
fileName
- filename"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"