VLC Player – how to mirror video playback

Video
VLC Player is a very powerful and free video player. One - amongst many - of the power features is playing the video mirrored or flipped. In order to achieve this goal, follow these steps: 1) Go to the "Effects and Filters" settings of the player [caption id="attachment_858" align="alignnone" width="300"] Select the "Effects and Filters" setting.[/caption] 2) Go to the "Video Effects > Geometry" settings of the player [caption id="attachment_859" align="alignnone" width="300"] Select the "Geometry" tab.[/caption] 3) Select the desired transformation Check the checkbox "Transform" and choose the desired transformation. In this case we choose "Flip horizontally". [caption id="attachment_860" align="alignnone" width="300"] Select the transformation option.[/caption] Happy watching!
Read More

java.io.File.toString() Example

Java
java.io.File.toString() Method description: Returns the pathname string of this abstract pathname. Show method details. Declaration: [crayon-5a633873d0462426721365/] Parameters: The method has no parameters. Return value: The string form of this abstract pathname Exceptions: Example: The following example illustrates the usage of the java.io.File.toString() method. [crayon-5a633873d046d239020093/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d0474995037415/]
Read More

java.io.File.toPath() Example

Java
java.io.File.toPath() Method description: Returns a java.nio.file.Path object constructed from the this abstract path. Show method details. Declaration: [crayon-5a633873d0d0d920884412/] Parameters: The method has no parameters. Return value: a Path constructed from this abstract path Exceptions: InvalidPathException - if a Path object cannot be constructed from the abstract path (see FileSystem.getPath) Example: The following example illustrates the usage of the java.io.File.toPath() method. [crayon-5a633873d0d18982609753/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d0d1f376432606/]
Read More

java.io.File.setReadOnly() Example

Java
java.io.File.setReadOnly() Method description: Marks the file or directory named by this abstract pathname so that only read operations are allowed. Show method details. Declaration: [crayon-5a633873d4a1b739151213/] Parameters: The method has no parameters. Return value: true if and only if the operation succeeded; false otherwise Exceptions: SecurityException - If a security manager exists and its SecurityManager.checkWrite(java.lang.String) method denies write access to the named file Example: The following example illustrates the usage of the java.io.File.setReadOnly() method. [crayon-5a633873d4a2a311251134/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d4a31739689804/] See also: java.io.file.canWrite()
Read More

java.io.File.mkdirs() Example

Java
java.io.File.mkdirs() Method description: Creates the directory named by this abstract pathname, including any necessary but nonexistent parent directories. Show method details. Declaration: [crayon-5a633873d518a504980891/] Parameters: The method has no parameters. Return value: true if and only if the directory was created, along with all necessary parent directories; false otherwise Exceptions: SecurityException - If a security manager exists and its SecurityManager.checkRead(java.lang.String) method does not permit verification of the existence of the named directory and all necessary parent directories; or if the SecurityManager.checkWrite(java.lang.String) method does not permit the named directory and all necessary parent directories to be created Example: The following example illustrates the usage of the java.io.File.mkdirs() method. [crayon-5a633873d5199141295306/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d51a0631639647/] See also: java.io.file.mkdir()
Read More

java.io.File.mkdir() Example

Java
java.io.File.mkdir() Method description: Creates the directory named by this abstract pathname. Show method details. Declaration: [crayon-5a633873d57b0020555429/] Parameters: The method has no parameters. Return value: true if and only if the directory was created; false otherwise Exceptions: SecurityException - If a security manager exists and its SecurityManager.checkWrite(java.lang.String) method does not permit the named directory to be created Example: The following example illustrates the usage of the java.io.File.mkdir() method. [crayon-5a633873d57bb026712839/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d57c3600604890/] See also: java.io.file.mkdirs()
Read More

java.io.File.listRoots() Example

Java
java.io.File.listRoots() Method description: List the available filesystem roots. Show method details. Declaration: [crayon-5a633873d5e2c686531541/] Parameters: The method has no parameters. Return value: An array of File objects denoting the available filesystem roots, or null if the set of roots could not be determined. The array will be empty if there are no filesystem roots. Exceptions: Example: The following example illustrates the usage of the java.io.File.listRoots() method. [crayon-5a633873d5e38434984955/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d5e40442187483/]
Read More

java.io.File.length() Example

Java
java.io.File.length() Method description: Returns the length of the file specified by this abstract pathname. Show method details. Declaration: [crayon-5a633873d6410279898838/] Parameters: The method has no parameters. Return value: The length, in bytes, of the file specified by this abstract pathname, or 0L if the file does not exist. Some operating systems may return 0L for pathnames denoting system-dependent entities such as devices or pipes. Exceptions: SecurityException - If a security manager exists and its SecurityManager.checkRead(java.lang.String) method denies read access to the file Example: The following example illustrates the usage of the java.io.File.length() method. [crayon-5a633873d641b356777361/] Output: If we compile and run this code sample, it will give the following result: [crayon-5a633873d6422215330995/]
Read More