Facade: split subsystem into one class per file, sync post code blocks to Java 25, add README mapping

This commit is contained in:
2026-06-24 15:33:22 +05:30
parent d6df1fd013
commit 083beb9780
10 changed files with 131 additions and 62 deletions

View File

@@ -0,0 +1,15 @@
package facade;
/** BitrateReader — reads the video buffer and converts it between codecs. */
class BitrateReader {
static VideoFile read(VideoFile file, Codec codec) {
System.out.println(" BitrateReader: reading " + file.getFilename()
+ " with codec " + codec.getName());
return new VideoFile(file.getFilename());
}
static VideoFile convert(VideoFile buffer, Codec codec) {
System.out.println(" BitrateReader: converting to " + codec.getName());
return new VideoFile(buffer.getFilename());
}
}