File.getLength

Overview | Methods | This Package | All Packages

File.getLength

Retrieves the length in bytes of this file.

Syntax

public long getLength()

Return Value

Returns the length of the file.

Exceptions

WinIOException thrown if the length of the file cannot be determined or if the file has been closed.

Overrides   DataStream.getLength

See Also   IByteStream.getLength, setLength