FileFormat

General

FileFormat és una classe en Aspose.3d per a Java.

La classe FileFormat exposa mètodes per consultar si un format es pot importar o exportar, recuperar les seves extensions de fitxer i crear opcions d’encarregament o salva específica del format.

Propietats

NomTipus de productesAccésDescripció
formatsList<FileFormat>Llegeix.Proporciona la llista de tots els formats de fitxer suportats
versionVersionLlegeix.Proporciona la versió associada a aquest format
canImportbooleanLlegeix.Indica si aquest format suporta operacions d’import.
canExportbooleanLlegeix.Indica si aquest format suporta operacions d’exportació.
extensionStringLlegeix.
extensionsString[]Llegeix.
contentTypeFileContentTypeLlegeix.Proporciona el tipus MIME d’aquest format
fileFormatTypeFileFormatTypeLlegeix.Proporciona la categoria enum d’aquest format
importerIImporterLlegeix.Proporciona l’instància d’importador per a aquest format
exporterIExporterLlegeix.
FBX6100ASCIIFileFormatLlegeix.Representa el format de fitxer FBX 6.1.0 ASCII.
FBX6100_BINARYFileFormatLlegeix.Representa el format de fitxer binari FBX 6.1.0
FBX7200ASCIIFileFormatLlegeix.Representa el format de fitxer FBX 7.2.0 ASCII.
FBX7200_BINARYFileFormatLlegeix.Representa el format de fitxer binari FBX 7.2.0
FBX7300ASCIIFileFormatLlegeix.Representa el format de fitxer FBX 7.3.0 ASCII.
FBX7300_BINARYFileFormatLlegeix.Representa el format de fitxer binari FBX 7.3.0
FBX7400ASCIIFileFormatLlegeix.Representa el format de fitxer FBX 7.4.0 ASCII.
FBX7400_BINARYFileFormatLlegeix.Representa el format de fitxer binari FBX 7.4.0
FBX7500ASCIIFileFormatLlegeix.Representa el format de fitxer FBX 7.5.0 ASCII.
FBX7500_BINARYFileFormatLlegeix.Representa el format de fitxer binari FBX 7.5.0
FBX7600ASCIIFileFormatLlegeix.Representa el format de fitxer FBX 7.6.0 ASCII.
FBX7600_BINARYFileFormatLlegeix.Representa el format de fitxer binari FBX 7.6.0
FBX7700ASCIIFileFormatLlegeix.
FBX7700_BINARYFileFormatLlegeix.
MAYAASCIIFileFormatLlegeix.Representa el format de fitxer ASCII Maya
MAYA_BINARYFileFormatLlegeix.Representa el format de fitxer binari Maya
STL_BINARYFileFormatLlegeix.Representa el format de fitxer binari STL.
STLASCIIFileFormatLlegeix.Representa el format de fitxer ASCII STL
WAVEFRONTOBJFileFormatLlegeix.Representa el format de fitxer Wavefront OBJ
DISCREET3DSFileFormatLlegeix.Representa el format de fitxer 3DS
COLLADAFileFormatLlegeix.
UNIVERSAL3DFileFormatLlegeix.
GLTFFileFormatLlegeix.
GLTF2FileFormatLlegeix.
GLTF_BINARYFileFormatLlegeix.
GLTF2_BINARYFileFormatLlegeix.
PDFPdfFormatLlegeix.
BLENDERFileFormatLlegeix.
DXFFileFormatLlegeix.
PLYPlyFormatLlegeix.
X_BINARYFileFormatLlegeix.
X_TEXTFileFormatLlegeix.
DRACODracoFormatLlegeix.
MICROSOFT3MFMicrosoft3MFFormatLlegeix.
RVM_TEXTRvmFormatLlegeix.
RVM_BINARYRvmFormatLlegeix.
ASEFileFormatLlegeix.
IFCFileFormatLlegeix.
SIEMENSJT8FileFormatLlegeix.
SIEMENSJT9FileFormatLlegeix.
AMFFileFormatLlegeix.
VRMLFileFormatLlegeix.
ASPOSE3D_WEBFileFormatLlegeix.
HTML5FileFormatLlegeix.
ZIPFileFormatLlegeix.
USDFileFormatLlegeix.
USDAFileFormatLlegeix.
USDZFileFormatLlegeix.
XYZFileFormatLlegeix.
PCDFileFormatLlegeix.
PCD_BINARYFileFormatLlegeix.

Mètodes

SignaturaDescripció
getFormats()List<FileFormat>Retorna una llista de tots els formats de fitxers suportats
getVersion()VersionRetorna la versió associada a aquest format de fitxer.
getFormatByExtension(filePath: String)FileFormatRetorna l’extensió FileFormat que correspon a la ruta de fitxer donada.
getCanImport()booleanIndica si aquest format es pot importar.
getCanExport()booleanIndica si aquest format es pot exportar.
getExtension()StringRetorna l’extensió de fitxer principal per a aquest format
getExtensions()String[]Retorna totes les extensions reconegudes per a aquest format.
getContentType()FileContentTypeRetorna el tipus de contingut MIME d’aquest format
getFileFormatType()FileFormatTypeRetorna el tipus de categoria d’aquest format de fitxer
getImporter()IImporterRetorna la implementació d’importador per a aquest format
getExporter()IExporterRetorna la implementació d’exportador per a aquest format
canDetect(stream: Stream, fileName: String)booleanDetermina si el format es pot detectar a partir d’un flux i nom de fitxer
detect(stream: Stream, fileName: String)FileFormatDetecta i retorna el FileFormat d’un flux i nom de fitxer
detect(fileName: String)FileFormat
registerFormat(format: FileFormat)Registra un nou FileFormat al sistema.
createLoadOptions()LoadOptionsCrea opcions de càrrega predeterminades per a aquest format
createObjLoadOptions()ObjLoadOptionsCrea opcions de càrrega específiques per a l’OBJ
createObjSaveOptions()ObjSaveOptionsCrea opcions d’enviament específiques per a l’OBJ
createSaveOptions()SaveOptionsCrea opcions d’enviament per aquest format
toString()StringRetorna una representació de cadena del FileFormat
 Català