@Override
    public void run(String... args) throws Exception {
        // Upload a local file to an Asset
        final AssetInfo uploadAsset = uploadFileAndCreateAsset("video.mp4");
        System.out.println("Uploaded Asset Id: " + uploadAsset.getId());
        System.out.println("Sample completed!");
    }
@Override
    public void run(String... args) throws Exception {
        
        final AssetInfo uploadAsset = uploadFileAndCreateAsset("video.mp4");
        System.out.println("Uploaded Asset Id: " + uploadAsset.getId());
        System.out.println("Sample completed!");
    }
@ Override public void run ( String ... args ) throws Exception { // Upload a local file to an Asset final AssetInfo uploadAsset = uploadFileAndCreateAsset ( "video.mp4" ) ; System . out . println ( "Uploaded Asset Id: " + uploadAsset . getId ( ) ) ; System . out . println ( "Sample completed!" ) ; }
https://docs.microsoft.com/en-us/azure/media-services/media-services-java-how-to-use
https : // docs . microsoft . com / en - us / azure / media - services / media - services - java - how - to - use