Class: Vertx::FileProps

Inherits:
Object
  • Object
show all
Defined in:
/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/file_props.rb

Instance Method Summary (collapse)

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

Raises:

  • (ArgumentError)


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?

Returns:

  • (Boolean)

Raises:

  • (ArgumentError)


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

Raises:

  • (ArgumentError)


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

Raises:

  • (ArgumentError)


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?

Returns:

  • (Boolean)

Raises:

  • (ArgumentError)


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?

Returns:

  • (Boolean)

Raises:

  • (ArgumentError)


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

Raises:

  • (ArgumentError)


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?

Returns:

  • (Boolean)

Raises:

  • (ArgumentError)


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