Salesforce B2C Commerce 23.6
>
B2C Commerce API
>
B2C Commerce Script
>
dw.io
Overview
API Versioning
Deprecated
dw.io
Class FileReader
Object
dw.io.Reader
dw.io.FileReader
File reader class.
Constructor Summary
FileReader
(file :
File
)
Constructs the reader.
FileReader
(file :
File
, encoding :
String
)
Constructs the reader.
Method Summary
close
() : void
Closes the reader.
Methods inherited from class
Reader
close
,
getLines
,
getString
,
read
,
read
,
readLine
,
readLines
,
readN
,
readString
,
ready
,
skip
Methods inherited from class
Object
assign
,
create
,
create
,
defineProperties
,
defineProperty
,
entries
,
freeze
,
fromEntries
,
getOwnPropertyDescriptor
,
getOwnPropertyNames
,
getOwnPropertySymbols
,
getPrototypeOf
,
hasOwnProperty
,
is
,
isExtensible
,
isFrozen
,
isPrototypeOf
,
isSealed
,
keys
,
preventExtensions
,
propertyIsEnumerable
,
seal
,
setPrototypeOf
,
toLocaleString
,
toString
,
valueOf
,
values
Constructor Detail
FileReader
public
FileReader
(file :
File
)
Constructs the reader.
To release system resources, close the reader by calling
close()
.
Parameters:
file
-
the file object to read.
FileReader
public
FileReader
(file :
File
, encoding :
String
)
Constructs the reader.
To release system resources, close the reader by calling
close()
.
Parameters:
file
-
the file object to read.
encoding
-
the character encoding to use.
Method Detail
close
close
() : void
Closes the reader.
© Copyright 2000-2023, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.
X
Privacy Update:
We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this.
Privacy Policy.