public class FileItem extends Object
| Constructor and Description |
|---|
FileItem(FileData data,
InputStream stream) |
FileItem(String name,
InputStream stream) |
public FileItem(String name, InputStream stream)
name - the full path name from the root folder.stream - the stream for the file. The file is deleted if stream is null.public FileItem(FileData data, InputStream stream)
data - the file descriptorstream - the stream for the file. The file is deleted if stream is null.public FileData getData()
public InputStream getStream()
Copyright © 2004–2020 OpenL Tablets. All rights reserved.