Class: Vertx::FileProps
- Inherits:
-
Object
- Object
- Vertx::FileProps
- Defined in:
- /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb
Instance Method Summary (collapse)
- - (Object) creation_time
- - (Boolean) directory?
-
- (FileProps) initialize(j_del)
constructor
A new instance of FileProps.
- - (Object) j_del
- - (Object) last_access_time
- - (Object) last_modified_time
- - (Boolean) other?
- - (Boolean) regular_file?
- - (Object) size
- - (Boolean) symbolic_link?
Constructor Details
- (FileProps) initialize(j_del)
Returns a new instance of FileProps
9 10 11 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 9 def initialize(j_del) @j_del = j_del end |
Instance Method Details
- (Object) creation_time
19 20 21 22 23 24 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 19 def creation_time if !block_given? return @j_del.java_method(:creationTime, []).call() end raise ArgumentError, "Invalid arguments when calling creation_time()" end |
- (Boolean) directory?
43 44 45 46 47 48 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 43 def directory? if !block_given? return @j_del.java_method(:isDirectory, []).call() end raise ArgumentError, "Invalid arguments when calling directory?()" end |
- (Object) j_del
14 15 16 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 14 def j_del @j_del end |
- (Object) last_access_time
27 28 29 30 31 32 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 27 def last_access_time if !block_given? return @j_del.java_method(:lastAccessTime, []).call() end raise ArgumentError, "Invalid arguments when calling last_access_time()" end |
- (Object) last_modified_time
35 36 37 38 39 40 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 35 def last_modified_time if !block_given? return @j_del.java_method(:lastModifiedTime, []).call() end raise ArgumentError, "Invalid arguments when calling last_modified_time()" end |
- (Boolean) other?
51 52 53 54 55 56 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 51 def other? if !block_given? return @j_del.java_method(:isOther, []).call() end raise ArgumentError, "Invalid arguments when calling other?()" end |
- (Boolean) regular_file?
59 60 61 62 63 64 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 59 def regular_file? if !block_given? return @j_del.java_method(:isRegularFile, []).call() end raise ArgumentError, "Invalid arguments when calling regular_file?()" end |
- (Object) size
75 76 77 78 79 80 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 75 def size if !block_given? return @j_del.java_method(:size, []).call() end raise ArgumentError, "Invalid arguments when calling size()" end |
- (Boolean) symbolic_link?
67 68 69 70 71 72 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb', line 67 def symbolic_link? if !block_given? return @j_del.java_method(:isSymbolicLink, []).call() end raise ArgumentError, "Invalid arguments when calling symbolic_link?()" end |