@Namespace(value="arrow::fs") @NoOffset @Properties(inherit=arrow.class) public class FileInfo extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
FileInfo.ByPath
Function object implementing less-than comparison and hashing by
path, to support sorting infos, using them as keys, and other
interactions with the STL.
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FileInfo() |
FileInfo(BytePointer path) |
FileInfo(BytePointer path,
byte type) |
FileInfo(FileInfo arg0) |
FileInfo(long size)
Native array allocator.
|
FileInfo(Pointer p)
Pointer cast constructor.
|
FileInfo(String path) |
FileInfo(String path,
arrow.FileType type) |
| Modifier and Type | Method and Description |
|---|---|
String |
base_name()
The file base name (component after the last directory separator)
|
String |
dir_name() |
boolean |
Equals(FileInfo other) |
String |
extension()
The file extension (excluding the dot)
|
FileInfo |
getPointer(long i) |
boolean |
IsDirectory() |
boolean |
IsFile() |
Pointer |
mtime()
The time of last modification, if available
|
String |
path()
The full file path in the filesystem
|
FileInfo |
position(long position) |
FileInfo |
put(FileInfo arg0) |
void |
set_mtime(Pointer mtime) |
void |
set_path(BytePointer path) |
void |
set_path(String path) |
void |
set_size(long size) |
void |
set_type(arrow.FileType type) |
void |
set_type(byte type) |
long |
size()
The size in bytes, if available
Only regular files are guaranteed to have a size.
|
String |
ToString() |
arrow.FileType |
type()
The file type
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic FileInfo(Pointer p)
Pointer(Pointer).public FileInfo(long size)
Pointer.position(long).public FileInfo()
public FileInfo(@StdString String path, arrow.FileType type)
public FileInfo(@StdString String path)
public FileInfo(@StdString BytePointer path, @Cast(value="arrow::fs::FileType") byte type)
public FileInfo(@StdString BytePointer path)
public FileInfo getPointer(long i)
getPointer in class Pointerpublic arrow.FileType type()
public void set_type(arrow.FileType type)
@StdString public String path()
public void set_path(@StdString String path)
public void set_path(@StdString BytePointer path)
@StdString public String base_name()
@StdString public String dir_name()
@Cast(value="int64_t") public long size()
@StdString public String extension()
@ByVal @Cast(value="arrow::fs::TimePoint*") public Pointer mtime()
@StdString public String ToString()
Copyright © 2021. All rights reserved.