ImportedObject

ImportedObject[]

represents a piece of imported data that has no special representation in the Wolfram Language.

Details

  • ImportedObject[] is returned by Import when importing certain formats where not all pieces of the format can be represented as a known Wolfram Language data type.
  • ImportedObject[]["Properties"] gives a list of available properties.
  • ImportedObject[]["prop"] can be used to extract properties of the object.
  • Any ImportedObject always includes the following properties:
  • "OriginalFormat"format of the file from which the object was imported
    "RawContent"byte array of raw data
  • Other properties of ImportedObject[] depend on the format of the file and the type of data that was imported.

Examples

open allclose all

Basic Examples  (2)

Import a PEM that contains an unsupported object type:

Import a PEM file that contains multiple entries:

Scope  (1)

Extract properties of an imported object:

List of available properties:

Extract one property:

Wolfram Research (2020), ImportedObject, Wolfram Language function, https://reference.wolfram.com/language/ref/ImportedObject.html.

Text

Wolfram Research (2020), ImportedObject, Wolfram Language function, https://reference.wolfram.com/language/ref/ImportedObject.html.

CMS

Wolfram Language. 2020. "ImportedObject." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ImportedObject.html.

APA

Wolfram Language. (2020). ImportedObject. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImportedObject.html

BibTeX

@misc{reference.wolfram_2023_importedobject, author="Wolfram Research", title="{ImportedObject}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ImportedObject.html}", note=[Accessed: 20-April-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_importedobject, organization={Wolfram Research}, title={ImportedObject}, year={2020}, url={https://reference.wolfram.com/language/ref/ImportedObject.html}, note=[Accessed: 20-April-2024 ]}