/**
 * {@link <a href=
 * "https://[Log in to view URL]"
 * target= "_blank"></a>}
 * 
 * @author itammb ( Italia Massimiliano Buscati )
 * @version JDK 1.15
 *
 */
class Main {
	public static class VideoConverter {

		public void convert(String fileName, String format) {
			System.out.println("Open: file Video");

			if (format == "mp4")
				System.out.println("Compression system -- third parties library: MPEG4)");
			else
				System.out.println("Compression system -- third parties library: OGG)");

			System.out.println("read: file Video)");
			System.out.println("convert[file, compression system]: file Video)");

			System.out.println("return: file Video");
		}
	}

	public static void main(String args[]) {
		// Unit test - uso del design pattern: facade
		VideoConverter convertor = new VideoConverter();
		convertor.convert("video.ogg", "mp4");
	}
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: