Trait

com.google.appsscript.base

Blob

Related Doc: package base

Permalink

trait Blob extends Object

Blob A data interchange object for Apps Script services.

Annotations
@RawJSType()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Blob
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def copyBlob(): Blob

    Permalink

    Returns a copy of this blob.

  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getAllBlobs(): Array[Blob]

    Permalink

    Deprecated.

    Deprecated. This function is deprecated and should not be used in new scripts.

  11. def getAs(contentType: String): Blob

    Permalink

    Return the data inside this object as a blob converted to the specified content type.

    Return the data inside this object as a blob converted to the specified content type. This method adds the appropriate extension to the filename — for example, "myfile.pdf". However, it assumes that the part of the filename that follows the last period (if any) is an existing extension that should be replaced. Consequently, "ChristmasList.12.25.2014" will become "ChristmasList.12.25.pdf".

  12. def getBytes(): Array[Byte]

    Permalink

    Gets the data stored in this blob.

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getContentType(): String

    Permalink

    Gets the content type of the bytes in this blob.

  15. def getDataAsString(charset: String): String

    Permalink

    Gets the data of this blob as a string with the specified encoding.

  16. def getDataAsString(): String

    Permalink

    Gets the data of this blob as a String with UTF-8 encoding.

  17. def getName(): String

    Permalink

    Gets the name of this blob.

  18. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def isGoogleType(): Boolean

    Permalink

    Returns whether this blob is a Google Apps file (Sheets, Docs, etc.).

  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  27. def setBytes(data: Array[Byte]): Blob

    Permalink

    Sets the data stored in this blob.

  28. def setContentType(contentType: String): Blob

    Permalink

    Sets the content type of the bytes in this blob.

  29. def setContentTypeFromExtension(): Blob

    Permalink

    Sets the content type of the bytes in this blob based on the file extension.

    Sets the content type of the bytes in this blob based on the file extension. The contentType will be null if it cannot be guessed from its extension.

  30. def setDataFromString(string: String, charset: String): Blob

    Permalink

    Sets the data of this blob from a string with the specified encoding.

  31. def setDataFromString(string: String): Blob

    Permalink

    Sets the data of this blob from a string with UTF-8 encoding.

  32. def setName(name: String): Blob

    Permalink

    Sets the name of this blob.

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped