/usr/share/octave/packages/java-1.2.8/doc-cache is in octave-java 1.2.8-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 | # Created by Octave 3.6.2, Sun Jul 22 21:28:07 2012 UTC <root@t61>
# name: cache
# type: cell
# rows: 3
# columns: 16
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
dlgtest
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 124
Install the java package.
Test the dlg... functions of the java package.
Author: Martin Hepperle
Version August 2010
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 27
Install the java package.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
errordlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 273
-- Function file: P = errordlg (MESSAGE [,TITLE])
Displays the MESSAGE using an error dialog box. The TITLE can be
used optionally to decorate the dialog caption. The return value
is always 1.
See also: helpdlg, inputdlg, listdlg, questdlg, warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 47
Displays the MESSAGE using an error dialog box.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
helpdlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 353
-- Function file: P = helpdlg (MESSAGE [,TITLE])
Displays a MESSAGE in a help dialog box. The help message can
have multiple lines, separated by a newline character '\n'. The
TITLE can be used optionally to decorate the dialog caption. The
return value is always 1.
See also: errordlg, inputdlg, listdlg, questdlg, warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 40
Displays a MESSAGE in a help dialog box.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
inputdlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1168
-- Function file: P = inputdlg (PROMPT [,TITLE [,ROWSCOLS, DEFAULTS]])
Returns the user's inputs from a multi-textfield dialog box in
form of a cell array of strings. If the dialog is closed by the
Cancel button, an empty cell array is returned.
`PROMPT'
The first argument PROMPT is mandatory. It is a cell array
with strings labeling each textfield.
`TITLE'
The optional string TITLE can be used as the caption of the
dialog.
`ROWSCOLS'
The size of the text fields can be defined by the argument
ROWSCOLS, which can have three forms: - a scalar value which
defines the number of rows used for each text field. - a
vector which defines the individual number of rows used for
each text field. - a matrix which defines the individual
number of rows and columns used for each text field.
`DEFAULTS'
It is possible to place default values into the text fields
by supplying the a cell array of strings or number for the
argument DEFAULTS.
See also: errordlg, helpdlg, listdlg, questdlg, warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Returns the user's inputs from a multi-textfield dialog box in form of
a cell ar
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 4
java
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 75
Please enter `doc java' to view the documentation for the package
`java'.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 73
Please enter `doc java' to view the documentation for the package
`java'.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 9
javaArray
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 551
-- Function file: A = javaArray (CLASS,[M,N,...])
-- Function file: A = javaArray (CLASS,M,N,...)
Creates a Java array of size [M,N,...] with elements of class
CLASS. CLASS can be a Java object representing a class or a string
containing the fully qualified class name.
The generated array is uninitialized, all elements are set to null
if CLASS is a reference type, or to a default value (usually 0) if
CLASS is a primitive type.
a = javaArray ("java.lang.String", 2, 2);
a(1,1) = "Hello";
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 35
Creates a Java array of size [M,N,.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
javaaddpath
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 253
-- Function file: javaaddpath (PATH)
Adds PATH to the dynamic class path of the Java virtual machine.
PATH can be either a directory where .class files can be found, or
a .jar file containing Java classes.
See also: javaclasspath
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 64
Adds PATH to the dynamic class path of the Java virtual machine.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 13
javaclasspath
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1049
-- Function file: javaclasspath
-- Function file: STATIC = javaclasspath
-- Function file: [STATIC, DYNAMIC] = javaclasspath
-- Function file: PATH = javaclasspath (WHAT)
Returns the class path of the Java virtual machine in the form of
a cell array of strings.
If called without input parameter:
* If no output variable is given, the result is simply printed
on the standard output.
* If one output variable STATIC is given, the result is the
static classpath.
* If two output variables STATIC and DYNAMIC are given, the
first variable will contain the static classpath, the second
will be filled with the dynamic claspath.
If called with a single input parameter WHAT:
* If WHAT is '-static' the static classpath is returned.
* If WHAT is '-dynamic' the dynamic classpath is returned.
* If WHAT is '-all' the static and the dynamic classpath are
returned in a single cell array
See also: javaaddpath, javarmpath
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Returns the class path of the Java virtual machine in the form of a
cell array o
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
javafields
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 246
-- Function file: P = javafields (CLASS)
Returns the fields of a Java object in the form of a cell array of
strings. If no output variable is given, the result is simply
printed on the standard output.
See also: javamethods
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 75
Returns the fields of a Java object in the form of a cell array of
strings.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
javamem
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1589
-- Function File: javamem
-- Function File: [ JMEM] = javamem
Show current memory status of the Java virtual machine (JVM) & run
garbage collector.
When no return argument is given the info is echoed to the screen.
Otherwise, output cell array JMEM contains Maximum, Total, and
Free memory (in bytes).
All Java-based routines are run in the JVM's shared memory pool, a
dedicated and separate part of memory claimed by the JVM from your
computer's total memory (which comprises physical RAM and virtual
memory / swap space on hard disk).
The maximum available memory can be set using the file java.opts
(in the same subdirectory where javaaddpath.m lives, see "which
javaaddpath". Usually that is:
[/usr]/share/octave/packages/java-<version>.
java.opts is a plain text file, one option per line. The default
initial memory size and default maximum memory size (which are
both system dependent) can be overridden like so:
-Xms64m
-Xmx512m
(in megabytes in this example.) You can adapt these values to
your own requirements if your system has limited available
physical memory or when you get Java memory errors.
"Total memory" is what the operating system has currently assigned
to the JVM and depends on actual and active memory usage. "Free
memory" is self-explanatory. During operation of Java-based octave
functions the amounts of Total and Free memory will vary, due to
Java's own cleaning up and your operating system's memory
management.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Show current memory status of the Java virtual machine (JVM) & run
garbage colle
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 11
javamethods
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 244
-- Function file: P = javamethods (CLASS)
Returns the methods of a Java object in the form of a cell array
of strings. If no output variable is given, the result is simply
printed on the standard output.
See also: methods
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 76
Returns the methods of a Java object in the form of a cell array of
strings.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 10
javarmpath
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 270
-- Function file: javarmpath (PATH)
Removes PATH from the dynamic class path of the Java virtual
machine. PATH can be either a directory where .class files can be
found, or a .jar file containing Java classes.
See also: javaaddpath, javaclasspath
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 69
Removes PATH from the dynamic class path of the Java virtual machine.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
listdlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 1661
-- Function file: [SEL,OK] = listdlg (KEY ,VALUE [, KEY ,VALUE, ...]])
Returns the user's inputs from a list dialog box in form of a
vector of selection indices SEL and a flag OK indicating how the
user closed the dialog box. The returned flag OK is 1 if the user
closed the box with the OK button, otherwise it is 0 and SEL is
empty. The indices in SEL are 1 based, i.e. the first list item
carries the index 1.
The arguments are specified in form of KEY, VALUE pairs. At least
the 'ListString' argument pair must be specified.
KEYs and VALUEs pairs can be selected from the following list:
`ListString'
a cell array of strings comprising the content of the list.
`SelectionMode'
can be either `Single' or `Multiple'.
`ListSize'
a vector with two elements [width, height] defining the size
of the list field in pixels.
`InitialValue'
a vector containing 1-based indices of preselected elements.
`Name'
a string to be used as the dialog caption.
`PromptString'
a cell array of strings to be displayed above the list field.
`OKString'
a string used to label the OK button.
`CancelString'
a string used to label the Cancel button.
Example:
[sel, ok] = listdlg ( 'ListString',{'An item', 'another', 'yet another'}, 'SelectionMode','Multiple' );
if ok == 1
imax = length(sel);
for i=1:1:imax
disp(sel(i));
end
end
See also: errordlg, helpdlg, inputdlg, questdlg, warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 80
Returns the user's inputs from a list dialog box in form of a vector of
selectio
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 6
msgbox
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 393
-- Function file: P = msgbox (MESSAGE [,TITLE [,ICON]])
Displays the MESSAGE using a message dialog. The TITLE is an
optional string, which can be used to decorate the dialog caption.
The ICON can be used optionally to select a dialog icon. It can
be one of `'error'', `'help'' or `'warn''. The return value is
always 1.
See also: helpdlg, questdlg, warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 44
Displays the MESSAGE using a message dialog.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 8
questdlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 991
-- Function file: P = questdlg (MESSAGE, TITLE)
-- Function file: P = questdlg (MESSAGE, TITLE, DEFAULT)
-- Function file: P = questdlg (MESSAGE, TITLE, BTN1, BTN2, DEFAULT)
-- Function file: P = questdlg (MESSAGE, TITLE, BTN1, BTN2, BTN3,
DEFAULT)
Displays the MESSAGE using a question dialog box. The dialog
contains two or three buttons which all close the dialog. It
returns the caption of the activated button.
The TITLE can be used optionally to decorate the dialog caption.
The string DEFAULT identifies the default button, which is
activated by pressing the ENTER key. It must match one of the
strings given in BTN1, BTN2 or BTN3.
If only MESSAGE and TITLE are specified, three buttons with the
default captions "Yes", "No", "Cancel" are used.
If only two button captions BTN1 and BTN2 are specified, the
dialog will have only these two buttons.
See also: errordlg, helpdlg, inputdlg, listdlg, warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 49
Displays the MESSAGE using a question dialog box.
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 7
warndlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 231
-- Function file: P = warndlg (MESSAGE [,TITLE])
Displays the MESSAGE using a warning dialog box. The TITLE can be
used optionally to decorate the dialog caption.
See also: helpdlg, inputdlg, listdlg, questiondlg
# name: <cell-element>
# type: sq_string
# elements: 1
# length: 48
Displays the MESSAGE using a warning dialog box.
|