@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="File")
public class File
extends Blob
| Constructor and Description |
|---|
File(BlobPart[] fileBits,
java.lang.String fileName)
The File() constructor creates a new File object instance.
|
File(BlobPart[] fileBits,
java.lang.String fileName,
FilePropertyBag options)
The File() constructor creates a new File object instance.
|
File(JsArray<BlobPart> fileBits,
java.lang.String fileName)
The File() constructor creates a new File object instance.
|
File(JsArray<BlobPart> fileBits,
java.lang.String fileName,
FilePropertyBag options)
The File() constructor creates a new File object instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
lastModified()
The File.lastModified read-only property provides the last modified date of the file as the number of milliseconds since the Unix epoch (January 1, 1970 at midnight).
|
java.lang.String |
name()
Returns the name of the file represented by a File object.
|
arrayBuffer, size, slice, slice, slice, slice, stream, text, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic File(@Nonnull
JsArray<BlobPart> fileBits,
@Nonnull
java.lang.String fileName,
@Nonnull
FilePropertyBag options)
public File(@Nonnull
BlobPart[] fileBits,
@Nonnull
java.lang.String fileName,
@Nonnull
FilePropertyBag options)
public File(@Nonnull
JsArray<BlobPart> fileBits,
@Nonnull
java.lang.String fileName)
public File(@Nonnull
BlobPart[] fileBits,
@Nonnull
java.lang.String fileName)
@JsProperty(name="lastModified") public int lastModified()
@JsProperty(name="name") @Nonnull public java.lang.String name()